Initial: Traefik + cloudflared + Gitea auf dama.casa

This commit is contained in:
2026-03-19 14:24:12 +00:00
commit b201d3a13e
12 changed files with 311 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
http:
middlewares:
# Basic Auth für Traefik Dashboard
# Generieren: echo $(htpasswd -nb user password) | sed -e 's/\$/\$\$/g'
traefik-auth:
basicAuth:
usersFile: /auth/traefik-users
# Sicherheits-Header für alle Services
secure-headers:
headers:
sslRedirect: true
forceSTSHeader: true
stsIncludeSubdomains: true
stsPreload: true
stsSeconds: 31536000
contentTypeNosniff: true
browserXssFilter: true
referrerPolicy: "strict-origin-when-cross-origin"
customFrameOptionsValue: "SAMEORIGIN"