mirror of
https://github.com/openvk/chandler.git
synced 2025-01-22 15:24:15 +03:00
NGINX: Added new param SCRIPT_FILENAME
This commit is contained in:
parent
0355a1a6d8
commit
c6335aea7b
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ server {
|
||||||
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
|
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
|
||||||
# when using a TCP socket, use the following:
|
# when using a TCP socket, use the following:
|
||||||
# fastcgi_pass 127.0.0.1:9000;
|
# fastcgi_pass 127.0.0.1:9000;
|
||||||
|
|
||||||
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue