morethanadiagnosis-hub/traefik.yml.new

43 lines
775 B
Text

api:
dashboard: true
insecure: false
entryPoints:
web:
address: ":80"
websecure:
address: ":443"
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
network: traefik
certificatesResolvers:
letsencrypt:
acme:
httpChallenge:
entryPoint: web
email: tenwest@proton.me
storage: /data/acme.json
caServer: https://acme-v02.api.letsencrypt.org/directory
accessLog: {}
http:
middlewares:
redirect-to-https:
redirectScheme:
scheme: https
permanent: true
routers:
web-redirect:
rule: "HostRegexp(`{host:.+}`)"
entryPoints:
- web
middlewares:
- redirect-to-https
service: "noop@internal"
priority: 1