diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-02-28 20:44:16 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2008-02-28 20:44:16 +0000 |
commit | 72c518452f391502538ef5a7e412088a53c6ae24 (patch) | |
tree | b8a150c6a1f79f2ead9d457dc29adc8bb666b611 | |
parent | 4491daef308a52f611bde5b6a9f5fb85b21f8fa3 (diff) | |
download | nginx-72c518452f391502538ef5a7e412088a53c6ae24.tar.gz nginx-72c518452f391502538ef5a7e412088a53c6ae24.zip |
add "root" to the fastcgi example to set correct included DOCUMENT_ROOT
-rw-r--r-- | conf/nginx.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/nginx.conf b/conf/nginx.conf index 75dad9342..315245d14 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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; |