chef-recipes/containers/traefik/templates/traefik.yml.j2

41 lines
671 B
Plaintext
Raw Normal View History

2023-02-03 17:01:35 +00:00
log:
level: "ERROR"
api:
dashboard: true
accessLog:
filters:
statusCodes:
- "400-418"
- "500-508"
entryPoints:
http:
address: ":80"
http:
redirections:
entryPoint:
to: https
scheme: https
permanent: true
https:
address: ":443"
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
file:
directory: "/etc/traefik/conf"
watch: true
certificatesResolvers:
wildcard:
acme:
email: {{ vault_acme_admin_email }}
storage: "/etc/traefik/acme_wildcard.json"
keyType: "EC256"
httpChallenge:
entryPoint: http