Eu substitui o seguinte bloco:
location ^~ /app/api {
alias /var/www/appwarded/app/api/public;
try_files $uri $uri/ @api;
}
Com:
location ^~ /app/api {
alias /var/www/appwarded/app/api/public;
try_files $uri $uri/ @api;
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /path/to/laravel/public/index.php;
}
}
Esta alteração resolveu o problema.