mirror of
https://github.com/nginx/nginx.git
synced 2024-12-18 21:23:36 -06:00
Fixed PROXY protocol on IPv6 sockets (ticket #858).
This commit is contained in:
parent
852a565be3
commit
9973e36944
@ -1927,6 +1927,7 @@ ngx_http_add_addrs6(ngx_conf_t *cf, ngx_http_port_t *hport,
|
||||
#if (NGX_HTTP_V2)
|
||||
addrs6[i].conf.http2 = addr[i].opt.http2;
|
||||
#endif
|
||||
addrs6[i].conf.proxy_protocol = addr[i].opt.proxy_protocol;
|
||||
|
||||
if (addr[i].hash.buckets == NULL
|
||||
&& (addr[i].wc_head == NULL
|
||||
|
Loading…
Reference in New Issue
Block a user