Mercurial > hg > nginx
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 Thu Feb 28 20:38:34 2008 +0000 +++ b/conf/nginx.conf Thu Feb 28 20:44:16 2008 +0000 @@ -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;