NGINX: Added new param SCRIPT_FILENAME

This commit is contained in:
Ilya Prokopenko 2021-09-18 09:23:28 +07:00
parent 0355a1a6d8
commit c6335aea7b
No known key found for this signature in database
GPG Key ID: 7736BBBB05F14A56
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ server {
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
# when using a TCP socket, use the following:
# fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}