From: Igor Sysoev Date: Thu, 28 Feb 2008 20:44:16 +0000 (+0000) Subject: add "root" to the fastcgi example to set correct included DOCUMENT_ROOT X-Git-Tag: release-0.6.27~21 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=72c518452f391502538ef5a7e412088a53c6ae24;p=nginx.git add "root" to the fastcgi example to set correct included DOCUMENT_ROOT --- 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;