mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-14 03:52:21 +03:00
Add the missing "fastcgi_split_path_info" directive so that URLs are parsed correctly
This commit is contained in:
parent
05dab52aa5
commit
83e2f4acaf
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ server {
|
||||||
location ~ ^.+.php {
|
location ~ ^.+.php {
|
||||||
fastcgi_pass php-fpm:9000;
|
fastcgi_pass php-fpm:9000;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
|
fastcgi_split_path_info ^(.+?.php)(/.*)$;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
fastcgi_param PHP_VALUE "error_log=/var/log/nginx/application_php_errors.log";
|
fastcgi_param PHP_VALUE "error_log=/var/log/nginx/application_php_errors.log";
|
||||||
fastcgi_buffers 16 16k;
|
fastcgi_buffers 16 16k;
|
||||||
|
|
Loading…
Reference in a new issue