Update nginx.dist.conf
This commit is contained in:
parent
fd7ade8cdd
commit
fd22427b43
1 changed files with 4 additions and 3 deletions
|
@ -42,9 +42,10 @@ server {
|
||||||
|
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_param HTTP_PROXY "";
|
fastcgi_param HTTP_PROXY "";
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root/index.dist.php;
|
#fastcgi_param SCRIPT_FILENAME $document_root/index.dist.php;
|
||||||
|
fastcgi_param SCRIPT_FILENAME $realpath_root/index.dist.php;
|
||||||
|
fastcgi_param DOCUMENT_ROOT $realpath_root;
|
||||||
|
|
||||||
fastcgi_pass php_upstream; # you need to set your values
|
fastcgi_pass unix:/var/run/php-fpm.sock; # you need to set your values
|
||||||
#or fastcgi_pass unix:/var/run/php-fpm.sock; # you need to set your values
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue