aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Wilken2024-01-21 21:49:52 +0100
committerTimo Wilken2024-01-21 21:50:42 +0100
commit333cdc640a4995ad55564474b4ed53561195f84e (patch)
tree436b163823bc18debd9b2337dcfa36eb7c83ba26
parente1e1fd0993757982c6df9e5c2ee0856e4ed42a5f (diff)
Set Strict-Transport-Security header for Nextcloud
Since Nextcloud is complaining about it.
-rw-r--r--tw/services/nextcloud.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/tw/services/nextcloud.scm b/tw/services/nextcloud.scm
index 92ec9a10..f8bef474 100644
--- a/tw/services/nextcloud.scm
+++ b/tw/services/nextcloud.scm
@@ -193,6 +193,7 @@ opcache.revalidate_freq=120
((hdr . value)
`("add_header " ,hdr " \"" ,value "\" always;")))
'(("Referrer-Policy" . "no-referrer")
+ ("Strict-Transport-Security" . "max-age=15552000")
("X-Content-Type-Options" . "nosniff")
("X-Frame-Options" . "SAMEORIGIN")
("X-Permitted-Cross-Domain-Policies" . "none")