From c6c4a834e7c6f6205e3cafe74dfab47a94a050ae Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 30 Oct 2022 02:59:33 +0200 Subject: [PATCH] small nginx change --- nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 8ee72d0bb..8559af0dd 100644 --- a/nginx.conf +++ b/nginx.conf @@ -5,8 +5,9 @@ server { listen [::]:80; proxy_set_header Host $http_host; add_header Referrer-Policy "same-origin"; - add_header Strict-Transport-Security "max-age=3153600"; + add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"; add_header X-Frame-Options "deny"; + add_header X-Content-Type-Options "nosniff"; location / { proxy_pass http://localhost:5000/;