by bungle · 12y ago · 0 comments
Here is the basic config I'm using with it:
listen x.x.x.x:443 default_server deferred spdy;
listen [x:x:x:x::x]:443 default_server deferred spdy ipv6only=on;
spdy_headers_comp 7;
ssl on;
ssl_certificate /etc/ssl/private/x.crt;
ssl_certificate_key /etc/ssl/private/x.key;
ssl_trusted_certificate /etc/ssl/private/x.trust;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers EECDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA384:EECDH+ECDSA+SHA256:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH+aRSA+RC4:EECDH:EDH+aRSA:RC4:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS;
ssl_prefer_server_ciphers on;
ssl_stapling on;
ssl_stapling_verify on;
resolver 8.8.8.8 x.x.x.x
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains";
add_header X-Frame-Options DENY;
add_header Alternate-Protocol 443:npn-spdy/3; add_header Alternate-Protocol 443:npn-spdy/3;
Also, what exactly does deferred do on the listen directive?"When a server receives a non-SPDY request which could have been served via SPDY, it should append a Alternate-Protocol header into the response stream. Note that it is valid to have multiple Alternate-Protocols headers. The field-value can also be specified as a comma-separated list, as per RFC2616 section 4.2."
And you can read about "deferred" here: https://stackoverflow.com/questions/8449058/what-does-the-de...
[0] - http://dev.chromium.org/spdy/spdy-protocol/spdy-protocol-dra...
Thanks for the link; I'm curious as to the downsides however (the article linked in the article doesn't fully cover them), and a Google search doesn't yield anything concrete (i.e. deferred on vs. off).