Mercurial > hg > nginx
diff src/http/ngx_http_request.h @ 5605:3a72b1805c52
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.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 17 Mar 2014 17:41:24 +0400 |
parents | 7ecaa9e4bf1b |
children | 345e4fd4bb64 |
line wrap: on
line diff
--- a/src/http/ngx_http_request.h Mon Mar 17 15:34:36 2014 +0400 +++ b/src/http/ngx_http_request.h Mon Mar 17 17:41:24 2014 +0400 @@ -309,8 +309,9 @@ ngx_int_t nfree; #if (NGX_HTTP_SSL) - ngx_uint_t ssl; /* unsigned ssl:1; */ + unsigned ssl:1; #endif + unsigned proxy_protocol:1; } ngx_http_connection_t;