From d93f4ae7d031bb2c0afe0e8a90ed7cad7826af75 Mon Sep 17 00:00:00 2001 From: robert <> Date: Thu, 22 Sep 2011 23:52:39 +0000 Subject: [PATCH] since we are chrooting nginx by default let's set a sane default docroot --- src/etc/nginx/nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/etc/nginx/nginx.conf b/src/etc/nginx/nginx.conf index 3bb33893..f23e6866 100644 --- a/src/etc/nginx/nginx.conf +++ b/src/etc/nginx/nginx.conf @@ -41,7 +41,7 @@ http { #access_log logs/host.access.log main; location / { - root html; + root /htdocs; index index.html index.htm; } @@ -87,7 +87,7 @@ http { # server_name somename alias another.alias; # location / { - # root html; + # root /htdocs; # index index.html index.htm; # } #} @@ -110,7 +110,7 @@ http { # ssl_prefer_server_ciphers on; # location / { - # root html; + # root /htdocs; # index index.html index.htm; # } #}