server-configs-nginx/h5bp/directive-only/spdy.conf

12 lines
339 B
Plaintext
Raw Normal View History

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
# 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:
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;