From 0b5f3297849c6061cf07b359e8b42768889e28cd Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Mon, 17 Mar 2014 17:41:24 +0400 Subject: 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. --- src/core/ngx_core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/ngx_core.h') diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h index dfcf2d56c..a2d417e8d 100644 --- a/src/core/ngx_core.h +++ b/src/core/ngx_core.h @@ -77,6 +77,7 @@ typedef void (*ngx_connection_handler_pt)(ngx_connection_t *c); #include #include #include +#include #define LF (u_char) 10 -- cgit