infrastructure/ansible/roles/docker/files/traefik/traefik.yml
Jake Howard 335992c9e9
Restore custom middleware implementation.
This redirect doesn't work correctly, let's revert to our custom one for
now. It does exactly the same thing, anyway
2020-03-31 14:53:00 +01:00

38 lines
689 B
YAML

entryPoints:
web:
address: ":80"
proxyProtocol:
trustedIPs:
- "{{ wireguard.cidr }}"
web-secure:
address: ":443"
proxyProtocol:
trustedIPs:
- "{{ wireguard.cidr }}"
matrix:
address: ":8448"
proxyProtocol:
trustedIPs:
- "{{ wireguard.cidr }}"
ping:
manualRouting: true
providers:
docker:
endpoint: unix:///var/run/docker.sock
watch: true
exposedByDefault: false
file:
filename: /etc/traefik/file-provider.yml
api:
dashboard: true
certificatesResolvers:
le:
acme:
email: hosting@theorangeone.net
storage: /etc/traefik/acme.json
httpChallenge:
entryPoint: web