12 lines
339 B
Text
12 lines
339 B
Text
|
# Nginx's spdy module is compiled by default from 1.6
|
||
|
# SPDY only works on HTTPS connections
|
||
|
|
||
|
# Inform browser of SPDY availability
|
||
|
add_header Alternate-Protocol 443:npn-spdy/3;
|
||
|
|
||
|
# Adjust connection keepalive for SPDY clients:
|
||
|
spdy_keepalive_timeout 300s; # up from 180 secs default
|
||
|
|
||
|
# enable SPDY header compression
|
||
|
spdy_headers_comp 6;
|