diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2021-03-05 17:16:29 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2021-03-05 17:16:29 +0300 |
| commit | c2e22bcf325ee0031d1c86fbdfb79a2f8e1b4a7b (patch) | |
| tree | bfa0c3d3aa644da123073392ac27349a68a4bb45 /auto | |
| parent | 1fce224f01b5a9b503315bd24e99421e5ca5bd7c (diff) | |
| download | nginx-c2e22bcf325ee0031d1c86fbdfb79a2f8e1b4a7b.tar.gz nginx-c2e22bcf325ee0031d1c86fbdfb79a2f8e1b4a7b.tar.bz2 | |
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.
Diffstat (limited to 'auto')
| -rw-r--r-- | auto/modules | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules index f1c63f3d5..f5a459783 100644 --- a/auto/modules +++ b/auto/modules @@ -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 |
