mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-28 06:20:14 +00:00
set hsts header in the acme.Caddyfile
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
@@ -34,6 +34,7 @@ http://:80 {
|
||||
|
||||
https://:8443 {
|
||||
import headers.Caddyfile
|
||||
header Strict-Transport-Security max-age=31536000;
|
||||
|
||||
@denied {
|
||||
path /api/auth/login /api/auth/getlogin
|
||||
|
||||
Reference in New Issue
Block a user