Merge pull request #133 from alanorth/keepalive-timeout-syntax

Correct syntax for keepalive_timeout
This commit is contained in:
Andy Dawson 2016-03-24 18:00:01 +01:00
commit 49aac21945
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
add_header Alternate-Protocol 443:npn-spdy/3; add_header Alternate-Protocol 443:npn-spdy/3;
# Adjust connection keepalive for SPDY clients: # 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 # enable SPDY header compression
spdy_headers_comp 6; spdy_headers_comp 6;

View File

@ -28,7 +28,7 @@ ssl_session_timeout 24h;
#ssl_session_tickets off; #ssl_session_tickets off;
# Use a higher keepalive timeout to reduce the need for repeated handshakes # 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) # HSTS (HTTP Strict Transport Security)
# This header tells browsers to cache the certificate for a year and to connect exclusively via HTTPS. # This header tells browsers to cache the certificate for a year and to connect exclusively via HTTPS.