Correct syntax for keepalive_timeout

It doesn't seem to be a fatal error, but the keepalive_timeout
value actually requires "s" (for seconds). Another occurence of
this was fixed in 35434b3361 but
these slipped through.

See: http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2016-03-14 10:19:11 +02:00
parent 66d0c463e0
commit ec4e0303f4
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.