diff --git a/fastcgi_params b/fastcgi_params index 8c6e8bb..28decb9 100644 --- a/fastcgi_params +++ b/fastcgi_params @@ -23,7 +23,3 @@ fastcgi_param SERVER_NAME $server_name; # PHP only, required if PHP was built with --enable-force-cgi-redirect fastcgi_param REDIRECT_STATUS 200; - -# ----- Add by Martin89 ----- -fastcgi_param SCRIPT_FILENAME $request_filename; - diff --git a/sites-available/kraut.space.conf b/sites-available/kraut.space.conf index 4c07bd1..2568535 100644 --- a/sites-available/kraut.space.conf +++ b/sites-available/kraut.space.conf @@ -65,6 +65,7 @@ server { include fastcgi_params; fastcgi_buffers 16 16k; fastcgi_buffer_size 32k; + fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_param HTTPS $php_https; # DW checks $_SERVER['HTTPS'] fastcgi_intercept_errors on; fastcgi_pass unix:/var/run/php5-fpm.sock;