2021-09-24 14:05:19 +02:00
|
|
|
global:
|
2023-08-16 12:14:38 +02:00
|
|
|
checkNewVersion: false
|
|
|
|
sendAnonymousUsage: false
|
2021-09-24 14:05:19 +02:00
|
|
|
|
2024-11-08 11:06:02 +01:00
|
|
|
# --> (Optional) Change log level and format here ...
|
2024-10-12 01:00:21 +02:00
|
|
|
# - level: [TRACE, DEBUG, INFO, WARN, ERROR, FATAL]
|
2021-09-24 14:05:19 +02:00
|
|
|
# log:
|
2023-08-16 12:14:38 +02:00
|
|
|
# level: ERROR
|
2024-11-08 11:06:02 +01:00
|
|
|
# <--
|
2021-09-24 14:05:19 +02:00
|
|
|
|
2024-11-08 11:06:02 +01:00
|
|
|
# --> (Optional) Enable accesslog here ...
|
|
|
|
# accesslog: {}
|
|
|
|
# <--
|
2021-09-24 14:05:19 +02:00
|
|
|
|
2024-11-08 11:06:02 +01:00
|
|
|
# --> (Optional) Enable API and Dashboard here, don't do in production
|
2021-09-24 14:05:19 +02:00
|
|
|
# api:
|
2023-08-16 12:14:38 +02:00
|
|
|
# dashboard: true
|
|
|
|
# insecure: true
|
2024-11-08 11:06:02 +01:00
|
|
|
# <--
|
2021-09-24 14:05:19 +02:00
|
|
|
|
2023-08-16 12:14:38 +02:00
|
|
|
# -- Change EntryPoints here...
|
2021-09-24 14:05:19 +02:00
|
|
|
entryPoints:
|
|
|
|
web:
|
|
|
|
address: :80
|
2024-11-08 11:06:02 +01:00
|
|
|
# --> (Optional) Redirect all HTTP to HTTPS
|
2021-09-24 14:05:19 +02:00
|
|
|
# http:
|
2021-10-12 22:37:42 +02:00
|
|
|
# redirections:
|
2021-09-24 14:05:19 +02:00
|
|
|
# entryPoint:
|
|
|
|
# to: websecure
|
|
|
|
# scheme: https
|
2024-11-08 11:06:02 +01:00
|
|
|
# <--
|
2021-09-24 14:05:19 +02:00
|
|
|
websecure:
|
|
|
|
address: :443
|
|
|
|
|
2023-08-16 12:14:38 +02:00
|
|
|
# -- Configure your CertificateResolver here...
|
2024-11-08 11:06:02 +01:00
|
|
|
certificatesResolvers:
|
|
|
|
cloudflare:
|
|
|
|
acme:
|
|
|
|
email: your-email@example.com # <-- Change this to your email
|
|
|
|
storage: /var/traefik/certs/cloudflare-acme.json
|
|
|
|
caServer: "https://acme-v02.api.letsencrypt.org/directory"
|
|
|
|
dnsChallenge:
|
|
|
|
provider: cloudflare # <-- (Optional) Change this to your DNS provider
|
|
|
|
resolvers:
|
|
|
|
- "1.1.1.1:53"
|
|
|
|
- "8.8.8.8:53"
|
|
|
|
|
|
|
|
# --> (Optional) Disable TLS Cert verification check
|
2023-08-16 14:18:54 +02:00
|
|
|
# serversTransport:
|
|
|
|
# insecureSkipVerify: true
|
2024-11-08 11:06:02 +01:00
|
|
|
# <--
|
2021-09-24 14:05:19 +02:00
|
|
|
|
|
|
|
providers:
|
|
|
|
docker:
|
2024-11-08 11:06:02 +01:00
|
|
|
exposedByDefault: false # <-- (Optional) Change this to true if you want to expose all services
|
2021-12-14 18:12:08 +01:00
|
|
|
file:
|
|
|
|
directory: /etc/traefik
|
2021-12-16 11:17:18 +01:00
|
|
|
watch: true
|