deployment/roles/traefik-deploy/templates/traefik.yml.j2

26 lines
453 B
Plaintext
Raw Normal View History

2021-12-11 16:28:17 +01:00
# vim: ft=yaml
entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: websecure
scheme: https
websecure:
address: ":443"
providers:
docker:
swarmMode: true
exposedbydefault: false
network: public
certificatesResolvers:
letsEncrypt:
acme:
email: "{{ letsencrypt_email }}"
storage: "/etc/traefik/acme/acme.json"
httpChallenge:
entryPoint: web