commit | 72c518452f391502538ef5a7e412088a53c6ae24 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Thu Feb 28 20:44:16 2008 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Thu Feb 28 20:44:16 2008 +0000 |
tree | b8a150c6a1f79f2ead9d457dc29adc8bb666b611 | |
parent | 4491daef308a52f611bde5b6a9f5fb85b21f8fa3 [diff] [blame] |
add "root" to the fastcgi example to set correct included DOCUMENT_ROOT
diff --git a/conf/nginx.conf b/conf/nginx.conf index 75dad93..315245d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf
@@ -63,6 +63,7 @@ # 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;