Parsing server PROXY protocol address and port (ticket #1206).
New variables $proxy_protocol_server_addr and $proxy_protocol_server_port are added both to HTTP and Stream.
Showing
- src/core/ngx_proxy_protocol.c 126 additions, 62 deletionssrc/core/ngx_proxy_protocol.c
- src/core/ngx_proxy_protocol.h 2 additions, 0 deletionssrc/core/ngx_proxy_protocol.h
- src/http/ngx_http_variables.c 18 additions, 5 deletionssrc/http/ngx_http_variables.c
- src/stream/ngx_stream_variables.c 18 additions, 5 deletionssrc/stream/ngx_stream_variables.c
Please register or sign in to comment