mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
add "root" to the fastcgi example to set correct included DOCUMENT_ROOT
This commit is contained in:
parent
4491daef30
commit
72c518452f
@ -63,6 +63,7 @@ http {
|
|||||||
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
|
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
|
||||||
#
|
#
|
||||||
#location ~ \.php$ {
|
#location ~ \.php$ {
|
||||||
|
# root html;
|
||||||
# fastcgi_pass 127.0.0.1:9000;
|
# fastcgi_pass 127.0.0.1:9000;
|
||||||
# fastcgi_index index.php;
|
# fastcgi_index index.php;
|
||||||
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
|
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
|
||||||
|
Loading…
Reference in New Issue
Block a user