Files
homelab-infra/ansible/roles/core-net/traefik/templates/traefik.yml.j2
T
karpenokandCursor 9c692522fb
ansible-core-net / deploy (push) Failing after 39s
ansible-core-secrets / deploy (push) Successful in 30s
ansible-rus-central / deploy (push) Failing after 15s
refactor: split machine deploys from one-time secrets migration
Roles stay under the machine that runs them, CI applies only a known product, and the /opt/secrets move is a one-shot playbook instead of part of every core-secrets run.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-10 23:55:34 +07:00

58 lines
948 B
Django/Jinja

# Traefik Static Configuration (Managed by Ansible)
api:
dashboard: true
insecure: false
entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: websecure
scheme: https
websecure:
address: ":443"
http:
tls:
certResolver: letsencrypt
transport:
respondingTimeouts:
readTimeout: 12h
writeTimeout: 12h
idleTimeout: 3m
turn-tcp:
address: ":3478/tcp"
turn-udp:
address: ":3478/udp"
serversTransport:
forwardingTimeouts:
dialTimeout: 30s
responseHeaderTimeout: 12h
idleConnTimeout: 90s
certificatesResolvers:
letsencrypt:
acme:
email: "{{ traefik_acme_email }}"
storage: /etc/traefik/acme.json
httpChallenge:
entryPoint: web
providers:
file:
directory: /etc/traefik/dynamic
watch: true
log:
level: INFO
accessLog:
filePath: /var/log/traefik/access.log