Browse Source

since we are chrooting nginx by default let's set a sane default docroot

OPENBSD_5_1
robert 13 years ago
parent
commit
d93f4ae7d0
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/etc/nginx/nginx.conf

+ 3
- 3
src/etc/nginx/nginx.conf View File

@ -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;
# }
#}


Loading…
Cancel
Save