Re: [PATCH] Mail: added PROXY PROTOCOL support

2021-01-18 Thread Murad Mamedov
x_*_realip_module is very heavy, it also requires ngx_*_variables. If implemented in mail, I see it as simple array directive of addresses checked as described in 1) above. I.e. without variables etc. On 2021.01.18 19:01, Maxim Dounin wrote: Hello! On Sat, Jan 16, 2021 at 07:38:49PM +0300, Murad Ma

[PATCH] Mail: added PROXY PROTOCOL support

2021-01-17 Thread Murad Mamedov
Updated patch includes "connect_timeout" configuration and adds connect phase for NGX_AGAIN. -- muradm ___ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel

[PATCH] Mail: added PROXY PROTOCOL support

2021-01-16 Thread Murad Mamedov
First of all, ignore patch in first mail, I don't use mercurial on daily basis, and my neomutt screwed the patch. Second mail in thread contains just patch and it seems to be correct. I wanted to address few other things on the subject. I started my way from http://mailman.nginx.org/pipermail/ngi

[PATCH] Mail: added PROXY PROTOCOL support

2021-01-16 Thread Murad Mamedov
Hi, We are trying to use Nginx as frontend for SMTP and IMAP servers inside docker swarm cluster. Nginx allows us to validate clients and TLS client certificates confidently. More over, we are able to post validate client certificates with "auth_http" and "auth_http_pass_client_cert" options. Eve