]> git.kaiwu.me - nginx.git/commit
Added server-side support for PROXY protocol v1 (ticket #355).
authorRoman Arutyunyan <arut@nginx.com>
Mon, 17 Mar 2014 13:41:24 +0000 (17:41 +0400)
committerRoman Arutyunyan <arut@nginx.com>
Mon, 17 Mar 2014 13:41:24 +0000 (17:41 +0400)
commit0b5f3297849c6061cf07b359e8b42768889e28cd
tree5ae00cb3fd666a763e76baef6598a2edc577734e
parent2f917b6d0636bd62ab0dfce0cad28148b0e9b002
Added server-side support for PROXY protocol v1 (ticket #355).

Client address specified in the PROXY protocol header is now
saved in the $proxy_protocol_addr variable and can be used in
the realip module.

This is currently not implemented for mail.
13 files changed:
auto/sources
src/core/ngx_connection.h
src/core/ngx_core.h
src/core/ngx_proxy_protocol.c [new file with mode: 0644]
src/core/ngx_proxy_protocol.h [new file with mode: 0644]
src/http/modules/ngx_http_realip_module.c
src/http/ngx_http.c
src/http/ngx_http_core_module.c
src/http/ngx_http_core_module.h
src/http/ngx_http_request.c
src/http/ngx_http_request.h
src/http/ngx_http_spdy.c
src/http/ngx_http_variables.c