44 lines
955 B
YAML
44 lines
955 B
YAML
# Traefik static configuration
|
|
api:
|
|
dashboard: false
|
|
|
|
log:
|
|
level: INFO
|
|
|
|
entryPoints:
|
|
web:
|
|
address: ":80"
|
|
http:
|
|
redirections:
|
|
entryPoint:
|
|
to: websecure
|
|
scheme: https
|
|
websecure:
|
|
address: ":443"
|
|
http:
|
|
tls: {}
|
|
# Uncomment to get real certificates via Let's Encrypt DNS challenge
|
|
# (works for LAN-only hosts as long as you own the domain):
|
|
# tls:
|
|
# certResolver: letsencrypt
|
|
# domains:
|
|
# - main: "example.com"
|
|
# sans: ["*.example.com"]
|
|
|
|
providers:
|
|
docker:
|
|
exposedByDefault: false
|
|
network: finance_proxy
|
|
file:
|
|
directory: /etc/traefik/dynamic
|
|
watch: true
|
|
|
|
# certificatesResolvers:
|
|
# letsencrypt:
|
|
# acme:
|
|
# email: you@example.com
|
|
# storage: /acme/acme.json
|
|
# dnsChallenge:
|
|
# provider: cloudflare # set CF_DNS_API_TOKEN in .env (or use another provider)
|
|
# resolvers: ["1.1.1.1:53"]
|