diff options
author | Robert Nagy <robert@cvs.openbsd.org> | 2011-09-22 23:52:40 +0000 |
---|---|---|
committer | Robert Nagy <robert@cvs.openbsd.org> | 2011-09-22 23:52:40 +0000 |
commit | 49e681d375cd2bf0cefc75517861952bb5ab1b02 (patch) | |
tree | 5758a53c437a750d84c3182df0112a3e2ae30d1c /etc | |
parent | e41d7e15b538c182191e1deece1b41b811b9fcad (diff) |
since we are chrooting nginx by default let's set a sane default docroot
Diffstat (limited to 'etc')
-rw-r--r-- | etc/nginx/nginx.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf index 3bb3389365f..f23e6866ec5 100644 --- a/etc/nginx/nginx.conf +++ b/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; # } #} |