diff options
| author | 2011-10-08 14:48:27 +0000 | |
|---|---|---|
| committer | 2011-10-08 14:48:27 +0000 | |
| commit | 2be6bfb6c34072a0a2c7abce6a819dd5e53c098c (patch) | |
| tree | 4c2836da6956a624c368b296b1b94d71479a451e /usr.sbin/nginx/src | |
| parent | only strip the full path once and remove any / chars from the begining of (diff) | |
| download | wireguard-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.c | 2 |
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; |
