details: http://hg.nginx.org/nginx/rev/ceeb1edb3018
branches:
changeset: 6331:ceeb1edb3018
user: Maxim Dounin <[email protected]>
date: Thu Dec 17 16:39:02 2015 +0300
description:
Fixed PROXY protocol on IPv6 sockets (ticket #858).
diffstat:
src/http/ngx_http.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -1927,6 +1927,7 @@ ngx_http_add_addrs6(ngx_conf_t *cf, ngx_
#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
_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel