mirror of
https://github.com/nginx/nginx.git
synced 2026-10-22 20:11:17 +00:00
fix variable access_log merging
This commit is contained in:
parent
504efffca8
commit
0da6d2f675
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue