Files
Docker-Compose/Proxy_Containers/traefik/config.yaml
T

28 lines
609 B
YAML
Raw Normal View History

2026-05-14 03:12:22 +00:00
http:
2026-05-14 03:14:35 +00:00
routers:
dashboard:
rule: "Host(`traefik.${DOMAIN_NAME}`)"
service: "api@internal"
entryPoints:
- websecure
middlewares:
- dashboard-auth
- internal-only
tls:
certResolver: cloudflare
2026-05-14 03:12:22 +00:00
middlewares:
crowdsec-bouncer:
forwardAuth:
2026-05-13 00:23:35 +00:00
address: http://bouncer-traefik:8080/api/v1/forwardAuth
2026-05-14 02:50:29 +00:00
trustForwardHeader: true
2026-05-14 03:12:22 +00:00
dashboard-auth:
basicAuth:
users:
- "admin:$apr1$..."
internal-only:
ipAllowList:
sourceRange:
- "192.168.0.0/24"
- "127.0.0.1/32"