fastcgi_param SCRIPT_FILENAME moved
This commit is contained in:
parent
6704842cb7
commit
a54dd4345a
2 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Reference in a new issue