Add strict security headers to nextcloud

This commit is contained in:
Marty Oehme 2021-12-09 23:47:28 +01:00
parent b058cd1ace
commit 86346c04dd
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -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