diff options
author | EuAndreh <eu@euandre.org> | 2023-09-18 20:43:48 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-09-18 20:43:48 -0300 |
commit | d216e8b8b1481b9f872ba537cb4feb2882c9af56 (patch) | |
tree | 50e423de56527c1f317c605b7091563de29669fd /src | |
parent | system.scm: Enable TLSv1.2 besides TLSv1.3 (diff) | |
download | server-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.scm | 2 |
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 |