Just read this:
http://wiki.nginx.org/Pitfalls#Root_inside_Location_Block
....which recommands to put root outside location block...
However, the default.conf installed from nginx rpm contains exactly
what should not de done, right ?
---
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
location = /50x.html {
root /usr/share/nginx/html;
}
#location ~ \.php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
#}
---
--
Laurent CREPET
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx