listen spdy per server_name

Valentin V. Bartenev vbart at nginx.com
Sun Aug 17 07:23:19 UTC 2014


On Sunday 17 August 2014 06:26:50 Richard Kearsley wrote:
> Hi
> It seems that if I have 2 server {} sections, one with spdy enabled and 
> one without, spdy is still accepted on the second
> 
> server
> {
>          server_name "";
>          listen 80;
>          listen 443 ssl spdy;
> }
> server
> {
>          server_name "something.com";
>          listen 80;
>          listen 443 ssl;
> }
> 
> a request to something.com still allows spdy, but I want it to fall back 
> to normal https in this case
> Is this correct behaviour?
> 
[..]

Yes, it's expected behavior since both options works on a port basis.
http://nginx.org/r/listen

See also: http://mailman.nginx.org/pipermail/nginx/2014-February/042048.html

  wbr, Valentin V. Bartenev



More information about the nginx mailing list