Re: PROXY protocol to upstream server

2018-08-13 Thread Maxim Dounin
Hello! On Mon, Aug 13, 2018 at 01:38:38AM +0300, Danila Vershinin wrote: > I understand. Followup question is: > > Is NGINX capable of presenting clients with different SSL certificate based > on SNI? > As in: > > stream { >server { > ssl_certificate foo.example.com

Re: PROXY protocol to upstream server

2018-08-12 Thread Danila Vershinin
Hi Maxim, I understand. Followup question is: Is NGINX capable of presenting clients with different SSL certificate based on SNI? As in: stream { server { ssl_certificate foo.example.com .crt; ssl_certificate bar.example.com .

Re: PROXY protocol to upstream server

2018-08-12 Thread Maxim Dounin
Hello! On Sun, Aug 12, 2018 at 11:33:25PM +0300, Danila Vershinin wrote: > It seems that nginx can accept PROXY protocol fine, but when it > comes to forwarding, it can only do so only within a stream { > server { … proxy_protocol on; } } . > > Are there any plans to add proxy_protocol on; for

PROXY protocol to upstream server

2018-08-12 Thread Danila Vershinin
Hi, It seems that nginx can accept PROXY protocol fine, but when it comes to forwarding, it can only do so only within a stream { server { … proxy_protocol on; } } . Are there any plans to add proxy_protocol on; for regular HTTP server blocks so it can be used alongside proxy_pass? This would