infrastructure/coreos-config/plays/services/traefik/traefik.yaml

41 lines
818 B
YAML
Raw Normal View History

log:
level: ERROR
2023-04-16 16:10:44 +02:00
metrics:
prometheus:
addEntryPointsLabels: true
addServicesLabels: true
addRoutersLabels: true
entryPoint: metrics
providers:
docker:
exposedbydefault: false
2022-10-01 15:34:55 +02:00
file:
filename: /etc/traefik/dynamic.yaml
entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: websecure
scheme: https
permanent: true
2023-04-16 16:10:44 +02:00
metrics:
address: ":9091"
2023-08-10 14:16:30 +02:00
http:
middlewares:
- "metrics-ipwhitelist@file"
websecure:
address: ":443"
http:
tls:
certResolver: letsencrypt
certificatesResolvers:
letsencrypt:
acme:
email: webmaster@tobiasmanske.de
storage: /acme/acme.json
# caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
2023-03-30 21:51:23 +02:00
tlsChallenge: true