mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 14:13:33 -06:00
merge SSL context inside "if" block
This commit is contained in:
parent
c27497da92
commit
22380569de
@ -2192,6 +2192,12 @@ ngx_http_proxy_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
|
||||
conf->proxy_values = prev->proxy_values;
|
||||
}
|
||||
|
||||
#if (NGX_HTTP_SSL)
|
||||
if (conf->upstream.ssl == NULL) {
|
||||
conf->upstream.ssl = prev->upstream.ssl;
|
||||
}
|
||||
#endif
|
||||
|
||||
ngx_conf_merge_uint_value(conf->headers_hash_max_size,
|
||||
prev->headers_hash_max_size, 512);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user