Nginx: add ssl cache

This commit is contained in:
saibotk 2020-01-08 23:35:28 +01:00
parent dbe38bda31
commit 0b0997c352
No known key found for this signature in database
GPG key ID: A3299C587D5DF523

View file

@ -33,6 +33,9 @@ server {
set_real_ip_from 172.16.0.0/12; set_real_ip_from 172.16.0.0/12;
ssl_session_timeout 1d;
ssl_session_cache shared:SSL:50m;
add_header Strict-Transport-Security $hsts_header; add_header Strict-Transport-Security $hsts_header;
add_header X-Frame-Options "DENY"; add_header X-Frame-Options "DENY";
add_header Referrer-Policy "no-referrer"; add_header Referrer-Policy "no-referrer";