Initial: Traefik + cloudflared + Gitea auf dama.casa
This commit is contained in:
20
services/traefik/config/dynamic/middlewares.yaml
Normal file
20
services/traefik/config/dynamic/middlewares.yaml
Normal 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"
|
||||
Reference in New Issue
Block a user