Merge pull request #133 from alanorth/keepalive-timeout-syntax
Correct syntax for keepalive_timeout
This commit is contained in:
commit
49aac21945
|
@ -5,7 +5,7 @@
|
|||
add_header Alternate-Protocol 443:npn-spdy/3;
|
||||
|
||||
# Adjust connection keepalive for SPDY clients:
|
||||
spdy_keepalive_timeout 300; # up from 180 secs default
|
||||
spdy_keepalive_timeout 300s; # up from 180 secs default
|
||||
|
||||
# enable SPDY header compression
|
||||
spdy_headers_comp 6;
|
||||
|
|
|
@ -28,7 +28,7 @@ ssl_session_timeout 24h;
|
|||
#ssl_session_tickets off;
|
||||
|
||||
# Use a higher keepalive timeout to reduce the need for repeated handshakes
|
||||
keepalive_timeout 300; # up from 75 secs default
|
||||
keepalive_timeout 300s; # up from 75 secs default
|
||||
|
||||
# HSTS (HTTP Strict Transport Security)
|
||||
# This header tells browsers to cache the certificate for a year and to connect exclusively via HTTPS.
|
||||
|
|
Loading…
Reference in New Issue