Multiple server blocks using spdy, reuseport, deferred

justink101 nginx-forum at nginx.us
Fri Sep 18 18:45:55 UTC 2015


If we have multiple server blocks binding on https using SPDY, reuseport,
and deferred nginx fails to start complaining about port already bound:

server {
    listen 443 deferred ssl spdy reuseport;
    server_name app.foo.com;
    ...
}

server {
    listen 443 deferred ssl spdy reuseport;
    server_name frontend.bar.com;
    ...
}

What is the behavior then if we change to:

server {
    listen 443 deferred ssl spdy reuseport;
    server_name app.foo.com;
    ...
}

server {
    listen 443 ssl;
    server_name frontend.bar.com;
    ...
}

Will both server blocks use SPDY, reuseport, and deferred, or only the
first?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,261646,261646#msg-261646



More information about the nginx mailing list