changeset 1907:7d47e1681a62

add "root" to the fastcgi example to set correct included DOCUMENT_ROOT
author Igor Sysoev <igor@sysoev.ru>
date Thu, 28 Feb 2008 20:44:16 +0000
parents 4a8c9139e579
children f2953601ed3c
files conf/nginx.conf
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;