add "root" to the fastcgi example to set correct included DOCUMENT_ROOT

This commit is contained in:
Igor Sysoev 2008-02-28 20:44:16 +00:00
parent 8e773cdc3b
commit a24a8c96cc
1 changed files with 1 additions and 0 deletions

View File

@ -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;