set hsts header in the acme.Caddyfile

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey
2026-04-16 18:02:29 +02:00
committed by GitHub
parent 24bc70fce6
commit 61024ddf9d

View File

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