]> git.kaiwu.me - nginx.git/commitdiff
add "root" to the fastcgi example to set correct included DOCUMENT_ROOT
authorIgor Sysoev <igor@sysoev.ru>
Thu, 28 Feb 2008 20:44:16 +0000 (20:44 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 28 Feb 2008 20:44:16 +0000 (20:44 +0000)
conf/nginx.conf

index 75dad9342e566696071bbb36058975288bcdb71f..315245d1406936a5117aee9ea125ac639796c04e 100644 (file)
@@ -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;