Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2014-03-17 17:41:24 +0400
committerRoman Arutyunyan <arut@nginx.com>2014-03-17 17:41:24 +0400
commit0b5f3297849c6061cf07b359e8b42768889e28cd (patch)
tree5ae00cb3fd666a763e76baef6598a2edc577734e /src/core/ngx_core.h
parent2f917b6d0636bd62ab0dfce0cad28148b0e9b002 (diff)
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.
Diffstat (limited to 'src/core/ngx_core.h')
-rw-r--r--src/core/ngx_core.h1
1 files changed, 1 insertions, 0 deletions
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 <ngx_open_file_cache.h>
#include <ngx_os.h>
#include <ngx_connection.h>
+#include <ngx_proxy_protocol.h>
#define LF (u_char) 10