2014-10-28 22:22:27 +01:00
|
|
|
# Nginx's spdy module is compiled by default from 1.6
|
|
|
|
# SPDY only works on HTTPS connections
|
|
|
|
|
2015-12-04 15:25:31 +01:00
|
|
|
# Inform browser of SPDY availability
|
2014-10-28 22:22:27 +01:00
|
|
|
add_header Alternate-Protocol 443:npn-spdy/3;
|
2014-07-28 16:38:22 +02:00
|
|
|
|
|
|
|
# Adjust connection keepalive for SPDY clients:
|
2016-03-14 09:19:11 +01:00
|
|
|
spdy_keepalive_timeout 300s; # up from 180 secs default
|
2014-07-28 16:38:22 +02:00
|
|
|
|
|
|
|
# enable SPDY header compression
|
|
|
|
spdy_headers_comp 6;
|