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