From c6335aea7b58d9c62c058070e6f125b89f28ac1a Mon Sep 17 00:00:00 2001 From: Ilya Prokopenko Date: Sat, 18 Sep 2021 09:23:28 +0700 Subject: [PATCH] NGINX: Added new param SCRIPT_FILENAME --- install/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/nginx.conf b/install/nginx.conf index 674065f..fae8627 100644 --- a/install/nginx.conf +++ b/install/nginx.conf @@ -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; } }