commit | 3539b3f25c83604e1b848f5c937549ab92befca9 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Thu Dec 17 16:39:02 2015 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Thu Dec 17 16:39:02 2015 +0300 |
tree | 84386a24e8521a630606a56a142e287667121849 | |
parent | a72f4349e290c59d0c36ec9d69a1d56f9e3b99eb [diff] |
Fixed PROXY protocol on IPv6 sockets (ticket #858).
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index d09e3f0..64af447 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c
@@ -1927,6 +1927,7 @@ #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