summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nginx/src
diff options
context:
space:
mode:
authorrobert <robert@openbsd.org>2011-10-08 14:48:27 +0000
committerrobert <robert@openbsd.org>2011-10-08 14:48:27 +0000
commit2be6bfb6c34072a0a2c7abce6a819dd5e53c098c (patch)
tree4c2836da6956a624c368b296b1b94d71479a451e /usr.sbin/nginx/src
parentonly strip the full path once and remove any / chars from the begining of (diff)
downloadwireguard-openbsd-2be6bfb6c34072a0a2c7abce6a819dd5e53c098c.tar.xz
wireguard-openbsd-2be6bfb6c34072a0a2c7abce6a819dd5e53c098c.zip
our root is /var/www/htdocs and not /var/www/html
Diffstat (limited to 'usr.sbin/nginx/src')
-rw-r--r--usr.sbin/nginx/src/http/ngx_http_core_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nginx/src/http/ngx_http_core_module.c b/usr.sbin/nginx/src/http/ngx_http_core_module.c
index ebe22ceaf9b..cd4ed2cacb3 100644
--- a/usr.sbin/nginx/src/http/ngx_http_core_module.c
+++ b/usr.sbin/nginx/src/http/ngx_http_core_module.c
@@ -3351,7 +3351,7 @@ ngx_http_core_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
conf->root_values = prev->root_values;
if (prev->root.data == NULL) {
- ngx_str_set(&conf->root, "html");
+ ngx_str_set(&conf->root, "htdocs");
if (ngx_conf_full_name(cf->cycle, &conf->root, 0) != NGX_OK) {
return NGX_CONF_ERROR;