From 86346c04ddbc1c684d77f42d8cfe851ab70094dd Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 9 Dec 2021 23:47:28 +0100 Subject: [PATCH] Add strict security headers to nextcloud --- roles/nextcloud/files/Caddyfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nextcloud/files/Caddyfile b/roles/nextcloud/files/Caddyfile index 71ea1a0..8a86c1c 100644 --- a/roles/nextcloud/files/Caddyfile +++ b/roles/nextcloud/files/Caddyfile @@ -5,7 +5,7 @@ php_fastcgi app:9000 header { # enable HSTS - # Strict-Transport-Security max-age=31536000; + Strict-Transport-Security max-age=31536000; } redir /.well-known/carddav /remote.php/dav 301