Mercurial > hg > nginx
comparison src/mail/ngx_mail.h @ 7795:ef4bdbbce57e
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 05 Mar 2021 17:16:29 +0300 |
parents | 12ea1de7d87c |
children | 4b8f23a36ebf |
comparison
equal
deleted
inserted
replaced
7794:12ea1de7d87c | 7795:ef4bdbbce57e |
---|---|
406 | 406 |
407 | 407 |
408 /* STUB */ | 408 /* STUB */ |
409 void ngx_mail_proxy_init(ngx_mail_session_t *s, ngx_addr_t *peer); | 409 void ngx_mail_proxy_init(ngx_mail_session_t *s, ngx_addr_t *peer); |
410 void ngx_mail_auth_http_init(ngx_mail_session_t *s); | 410 void ngx_mail_auth_http_init(ngx_mail_session_t *s); |
411 ngx_int_t ngx_mail_realip_handler(ngx_mail_session_t *s); | |
411 /**/ | 412 /**/ |
412 | 413 |
413 | 414 |
414 extern ngx_uint_t ngx_mail_max_module; | 415 extern ngx_uint_t ngx_mail_max_module; |
415 extern ngx_module_t ngx_mail_core_module; | 416 extern ngx_module_t ngx_mail_core_module; |