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

43 lines
707 B
Django/Jinja

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"
mmcalls:
address: ":8443/udp"
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