mirror of
https://github.com/nginx/nginx.git
synced 2026-10-09 02:02:22 +00:00
Mail: realip module.
When configured with the "set_real_ip_from", it can set client's IP address as visible in logs to the one obtained via the PROXY protocol.
This commit is contained in:
parent
1fce224f01
commit
c2e22bcf32
4 changed files with 281 additions and 0 deletions
|
|
@ -985,6 +985,12 @@ if [ $MAIL != NO ]; then
|
|||
ngx_module_srcs=src/mail/ngx_mail_proxy_module.c
|
||||
|
||||
. auto/module
|
||||
|
||||
ngx_module_name=ngx_mail_realip_module
|
||||
ngx_module_deps=
|
||||
ngx_module_srcs=src/mail/ngx_mail_realip_module.c
|
||||
|
||||
. auto/module
|
||||
fi
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue