docker-deploy/traefik/traefik.yml

75 lines
1.3 KiB
YAML
Raw Normal View History

2021-12-10 14:44:51 +08:00
global:
sendanonymoususage: false
checknewversion: false
2021-09-19 13:56:24 +08:00
entryPoints:
web:
address: ":80"
2021-12-10 14:44:51 +08:00
http:
redirections:
entryPoint:
to: websecure
scheme: https
2021-09-19 13:56:24 +08:00
websecure:
address: ":443"
2021-12-10 14:44:51 +08:00
http:
tls:
certresolver: letsencrypt
domains:
- main: "esin.io"
sans: "*.esin.io"
2021-09-19 13:56:24 +08:00
providers:
docker:
2021-12-10 14:44:51 +08:00
watch: true
network: traefik
2021-09-19 13:56:24 +08:00
exposedByDefault: false
file:
2021-12-10 14:44:51 +08:00
watch: true
directory: "/etc/traefik/dynamic.d"
2021-09-19 13:56:24 +08:00
api:
dashboard: true
ping: {}
certificatesResolvers:
letsencrypt:
acme:
email: "hi@esin.io"
storage: "/etc/acme/acme.json"
2021-12-10 14:44:51 +08:00
tlsChallenge: {}
2021-09-19 13:56:24 +08:00
httpChallenge:
entryPoint: web
2021-12-10 14:44:51 +08:00
dnschallenge:
provider: linode
delayBeforeCheck: 0
2021-12-10 15:40:59 +08:00
default:
acme:
email: "hi@esin.io"
storage: "/etc/acme/acme.json"
dnschallenge:
provider: linode
delayBeforeCheck: 0
tls:
acme:
email: "hi@esin.io"
storage: "/etc/acme/acme.json"
tlsChallenge: {}
http:
acme:
email: "hi@esin.io"
storage: "/etc/acme/acme.json"
httpChallenge:
entryPoint: web
2021-09-19 13:56:24 +08:00
log:
2021-12-10 14:44:51 +08:00
filePath: "/var/log/traefik/traefik.log"
2021-09-19 13:56:24 +08:00
format: json
level: INFO
accessLog:
2021-12-10 14:44:51 +08:00
filePath: "/var/log/traefik/access.log"
2021-09-19 13:56:24 +08:00
format: json
bufferingSize: 100