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

29 lines
476 B
Django/Jinja

# vim: ft=yaml
entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: websecure
scheme: https
websecure:
address: ":443"
api:
insecure: true
providers:
docker:
swarmMode: true
exposedbydefault: false
network: public
certificatesResolvers:
letsEncrypt:
acme:
email: "{{ letsencrypt_email }}"
storage: "/etc/traefik/acme/acme.json"
httpChallenge:
entryPoint: web