docker-deploy/traefik/traefik.yml
2021-12-10 14:44:51 +08:00

57 lines
969 B
YAML

global:
sendanonymoususage: false
checknewversion: false
entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: websecure
scheme: https
websecure:
address: ":443"
http:
tls:
certresolver: letsencrypt
domains:
- main: "esin.io"
sans: "*.esin.io"
providers:
docker:
watch: true
network: traefik
exposedByDefault: false
file:
watch: true
directory: "/etc/traefik/dynamic.d"
api:
dashboard: true
ping: {}
certificatesResolvers:
letsencrypt:
acme:
email: "hi@esin.io"
storage: "/etc/acme/acme.json"
tlsChallenge: {}
httpChallenge:
entryPoint: web
dnschallenge:
provider: linode
delayBeforeCheck: 0
log:
filePath: "/var/log/traefik/traefik.log"
format: json
level: INFO
accessLog:
filePath: "/var/log/traefik/access.log"
format: json
bufferingSize: 100