comparison conf/nginx.conf @ 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 00ba627f7919
children d795199b41ad
comparison
equal deleted inserted replaced
1906:4a8c9139e579 1907:7d47e1681a62
61 #} 61 #}
62 62
63 # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 63 # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
64 # 64 #
65 #location ~ \.php$ { 65 #location ~ \.php$ {
66 # root html;
66 # fastcgi_pass 127.0.0.1:9000; 67 # fastcgi_pass 127.0.0.1:9000;
67 # fastcgi_index index.php; 68 # fastcgi_index index.php;
68 # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; 69 # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
69 # include fastcgi_params; 70 # include fastcgi_params;
70 #} 71 #}