From 0b0997c352fc56a731496019caa0ada85f40881a Mon Sep 17 00:00:00 2001 From: saibotk Date: Wed, 8 Jan 2020 23:35:28 +0100 Subject: [PATCH] Nginx: add ssl cache --- _docker/default.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_docker/default.conf b/_docker/default.conf index 5fcdccf..76d1c08 100644 --- a/_docker/default.conf +++ b/_docker/default.conf @@ -33,6 +33,9 @@ server { 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 X-Frame-Options "DENY"; add_header Referrer-Policy "no-referrer";