enhanced security through HSTS headers' middleware

This commit is contained in:
2022-08-16 15:53:27 +02:00
parent a1428f0d3b
commit 503f438bdf
2 changed files with 10 additions and 1 deletions

View File

@@ -8,7 +8,12 @@ TRAEFIK_NETWORK=traefik
TRAEFIK_MATCHRULE=traefik.mydomain.com
TRAEFIK_ROUTER=traefik_mydomain_com
TRAEFIK_PILOT_TOKEN=
# Security
TRAEFIK_TLSENABLED=true
TRAEFIK_STS_SECONDS=15552000
TRAEFIK_STS_SUBDOMAINS=true
TRAEFIK_STS_PRELOAD=true
# Certificate provider
TRAEFIK_DNSPROVIDER=hetzner