Re: sni hostname and request Host header mismatch

2018-10-11 Thread Francis Daly
On Wed, Oct 10, 2018 at 05:11:40PM -0700, Frank Liu wrote: Hi there, > http://hg.nginx.org/nginx/rev/4fbef397c753 indicates the check is only done > for the 2-way SSL virtual host. > Has everything been added (maybe through a directive) for 1-way SSL since > then? $ssl_server_name is the name

Re: sni hostname and request Host header mismatch

2018-10-10 Thread Frank Liu
http://hg.nginx.org/nginx/rev/4fbef397c753 indicates the check is only done for the 2-way SSL virtual host. Has everything been added (maybe through a directive) for 1-way SSL since then? On Wed, Oct 10, 2018 at 10:33 AM itpp2012 wrote: > Via map and the default ? > > Posted at Nginx Forum: >

Re: sni hostname and request Host header mismatch

2018-10-10 Thread itpp2012
Via map and the default ? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,281564,281565#msg-281565 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

sni hostname and request Host header mismatch

2018-10-10 Thread Frank Liu
Is there a way to configure nginx to fail the request if the client sends a sni header that doesn't match the Host header? curl -k -H "Host: virtual_host2" https://virtual_host1 ___ nginx mailing list nginx@nginx.org