2021-09-24 14:05:19 +02:00
|
|
|
global:
|
|
|
|
checkNewVersion: true
|
|
|
|
sendAnonymousUsage: false # true by default
|
|
|
|
|
|
|
|
# (Optional) Log information
|
|
|
|
# ---
|
|
|
|
# log:
|
|
|
|
# level: ERROR # DEBUG, INFO, WARNING, ERROR, CRITICAL
|
|
|
|
# format: common # common, json, logfmt
|
|
|
|
# filePath: /var/log/traefik/traefik.log
|
|
|
|
|
|
|
|
# (Optional) Accesslog
|
|
|
|
# ---
|
|
|
|
# accesslog:
|
|
|
|
# format: common # common, json, logfmt
|
|
|
|
# filePath: /var/log/traefik/access.log
|
|
|
|
|
|
|
|
# (Optional) Enable API and Dashboard
|
|
|
|
# ---
|
|
|
|
# api:
|
2021-09-24 15:26:54 +02:00
|
|
|
# dashboard: true # true by default
|
2021-09-24 14:05:19 +02:00
|
|
|
# insecure: true # Don't do this in production!
|
|
|
|
|
|
|
|
# Entry Points configuration
|
|
|
|
# ---
|
|
|
|
entryPoints:
|
|
|
|
web:
|
|
|
|
address: :80
|
|
|
|
# (Optional) Redirect to HTTPS
|
|
|
|
# ---
|
|
|
|
# http:
|
2021-10-12 22:37:42 +02:00
|
|
|
# redirections:
|
2021-09-24 14:05:19 +02:00
|
|
|
# entryPoint:
|
|
|
|
# to: websecure
|
|
|
|
# scheme: https
|
|
|
|
|
|
|
|
websecure:
|
|
|
|
address: :443
|
|
|
|
|
2021-12-14 18:12:08 +01:00
|
|
|
# Configure your CertificateResolver here...
|
2021-09-24 14:05:19 +02:00
|
|
|
# ---
|
2021-12-14 18:12:08 +01:00
|
|
|
# certificatesResolvers:
|
|
|
|
# staging:
|
|
|
|
# acme:
|
|
|
|
# email: your-email@example.com
|
|
|
|
# storage: /etc/traefik/certs/acme.json
|
|
|
|
# caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
|
|
|
|
# httpChallenge:
|
|
|
|
# entryPoint: web
|
|
|
|
#
|
|
|
|
# production:
|
|
|
|
# acme:
|
|
|
|
# email: your-email@example.com
|
|
|
|
# storage: /etc/traefik/certs/acme.json
|
|
|
|
# caServer: "https://acme-v02.api.letsencrypt.org/directory"
|
|
|
|
# httpChallenge:
|
2022-01-07 11:49:35 +01:00
|
|
|
# entryPoint: web
|
2021-12-14 18:12:08 +01:00
|
|
|
|
|
|
|
# (Optional) Overwrite Default Certificates
|
|
|
|
# tls:
|
|
|
|
# stores:
|
|
|
|
# default:
|
|
|
|
# defaultCertificate:
|
|
|
|
# certFile: /etc/traefik/certs/cert.pem
|
|
|
|
# keyFile: /etc/traefik/certs/cert-key.pem
|
2021-09-24 14:05:19 +02:00
|
|
|
|
|
|
|
providers:
|
|
|
|
docker:
|
|
|
|
exposedByDefault: false # Default is true
|
2021-12-14 18:12:08 +01:00
|
|
|
file:
|
|
|
|
# watch for dynamic configuration changes
|
|
|
|
directory: /etc/traefik
|
2021-12-16 11:17:18 +01:00
|
|
|
watch: true
|