From a309bcf053aa183acae1c2da0d93d6a4e04ebcc7 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 14 Dec 2024 03:53:59 +0100 Subject: [PATCH] Enable hsts for `nextcloud` --- .../Common/Software/docker/services/nextcloud/nginx/web.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Common/Software/docker/services/nextcloud/nginx/web.conf b/scripts/Common/Software/docker/services/nextcloud/nginx/web.conf index 19e451ce..b6ed2186 100644 --- a/scripts/Common/Software/docker/services/nextcloud/nginx/web.conf +++ b/scripts/Common/Software/docker/services/nextcloud/nginx/web.conf @@ -46,7 +46,7 @@ http { # will add the domain to a hardcoded list that is shipped # in all major browsers and getting removed from this list # could take several months. - #add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload" always; + add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload" always; # set max upload size and increase upload timeout: client_max_body_size 512M;