From 49da5b0cde880ca2b61b8ab2a52b42ce4c447196 Mon Sep 17 00:00:00 2001 From: frju365 Date: Wed, 31 Jan 2024 01:19:14 +0100 Subject: [PATCH] [fix] 1 year not 2 years --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 5a105b1..8549b93 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -55,7 +55,7 @@ location ^~ __PATH__/ { client_body_buffer_size 512k; # HTTP response headers borrowed from Nextcloud `.htaccess` - more_set_headers "Strict-Transport-Security: max-age=63072000; includeSubDomains; preload;"; + more_set_headers "Strict-Transport-Security: max-age=31536000; includeSubDomains; preload;"; more_set_headers "Referrer-Policy: no-referrer"; more_set_headers "X-Content-Type-Options: nosniff"; more_set_headers "X-Download-Options: noopen";