mirror of
https://github.com/nginx/nginx.git
synced 2024-11-23 20:19:02 +08: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
|
||||
#
|
||||
#location ~ \.php$ {
|
||||
# root html;
|
||||
# fastcgi_pass 127.0.0.1:9000;
|
||||
# fastcgi_index index.php;
|
||||
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
|
||||
|
Loading…
Reference in New Issue
Block a user