aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-09-18 20:43:48 -0300
committerEuAndreh <eu@euandre.org>2023-09-18 20:43:48 -0300
commitd216e8b8b1481b9f872ba537cb4feb2882c9af56 (patch)
tree50e423de56527c1f317c605b7091563de29669fd /src
parentsystem.scm: Enable TLSv1.2 besides TLSv1.3 (diff)
downloadserver-d216e8b8b1481b9f872ba537cb4feb2882c9af56.tar.gz
server-d216e8b8b1481b9f872ba537cb4feb2882c9af56.tar.xz
system.scm: Increase HSTS max-age to 1 year
Diffstat (limited to 'src')
-rw-r--r--src/infrastructure/guix/system.scm2
1 files changed, 1 insertions, 1 deletions
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