roles/nginx: Enable SPDY header compression
Recommended by Ilya Grigorik to be set to 6. Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
15603ba9e8
commit
f23f0713d2
@ -23,6 +23,9 @@
|
|||||||
# of such infrastructure, consider turning off session tickets:
|
# of such infrastructure, consider turning off session tickets:
|
||||||
ssl_session_tickets off;
|
ssl_session_tickets off;
|
||||||
|
|
||||||
|
# enable SPDY header compression
|
||||||
|
spdy_headers_comp 6;
|
||||||
|
|
||||||
# Enable this if you want HSTS (recommended, but be careful)
|
# Enable this if you want HSTS (recommended, but be careful)
|
||||||
add_header Strict-Transport-Security max-age=15768000;
|
add_header Strict-Transport-Security max-age=15768000;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user