ansible/roles/traefik_docker/templates/traefik.yml.j2

43 lines
755 B
Django/Jinja

entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: "websecure"
scheme: "https"
websecure:
address: ":443"
http:
tls:
certResolver: "letsencrypt"
matrixfederation:
address: ":8448"
http:
tls:
certResolver: "letsencrypt"
api:
dashboard: true
#insecure: true
certificatesResolvers:
letsencrypt:
acme:
email: "{{ letsencrypt_email }}"
storage: "/letsencrypt/acme.json"
#caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
tlsChallenge: true
providers:
docker:
watch: true
network: "traefik"
exposedByDefault: false
file:
filename: "traefik_dynamic.yml"
log:
level: "INFO"