mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
fix variable access_log merging
This commit is contained in:
@@ -761,7 +761,8 @@ ngx_http_log_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
|
||||
return NGX_CONF_OK;
|
||||
}
|
||||
|
||||
*conf = *prev;
|
||||
conf->logs = prev->logs;
|
||||
conf->off = prev->off;
|
||||
|
||||
if (conf->logs || conf->off) {
|
||||
return NGX_CONF_OK;
|
||||
|
||||
Reference in New Issue
Block a user