Compare commits

..

1 Commits

Author SHA1 Message Date
Adrian 4aa3368c43 Nginx config: Replace CGI host with includable config
`SCRIPT_NAME` was removed because `alias` sets `$request_filename`
to the full path. Let's hope it works...
2015-12-14 01:08:09 +01:00
1 changed files with 0 additions and 2 deletions

View File

@ -1,6 +1,4 @@
fastcgi_pass unix:/run/php5-fpm.sock; fastcgi_pass unix:/run/php5-fpm.sock;
include fastcgi_params; include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /etc/nginx/cgi-bin.php; fastcgi_param SCRIPT_FILENAME /etc/nginx/cgi-bin.php;
fastcgi_param SCRIPT_NAME "";
fastcgi_param X_SCRIPT_FILENAME $request_filename; fastcgi_param X_SCRIPT_FILENAME $request_filename;
fastcgi_param X_SCRIPT_NAME "";