From d216e8b8b1481b9f872ba537cb4feb2882c9af56 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 18 Sep 2023 20:43:48 -0300 Subject: system.scm: Increase HSTS max-age to 1 year --- src/infrastructure/guix/system.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/infrastructure/guix/system.scm b/src/infrastructure/guix/system.scm index adda409..3e1503e 100644 --- a/src/infrastructure/guix/system.scm +++ b/src/infrastructure/guix/system.scm @@ -416,7 +416,7 @@ include /opt/secrets/nginx.conf.txt; charset utf-8; autoindex on; - add_header Strict-Transport-Security 'max-age=86400; includeSubdomains' always; + add_header Strict-Transport-Security 'max-age=31536000; includeSubdomains' always; "#))))))) (service cgit-service-type queue:cgit-pre-configuration) (simple-service 'extra-etc-file etc-service-type -- cgit v1.2.3