Add the missing "fastcgi_split_path_info" directive so that URLs are parsed correctly

This commit is contained in:
Alex Tselegidis 2023-07-07 12:45:48 +02:00
parent 05dab52aa5
commit 83e2f4acaf

View file

@ -20,6 +20,7 @@ server {
location ~ ^.+.php {
fastcgi_pass php-fpm:9000;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+?.php)(/.*)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PHP_VALUE "error_log=/var/log/nginx/application_php_errors.log";
fastcgi_buffers 16 16k;