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
|
|
|
|
2023-08-16 12:14:38 +02:00
|
|
|
# -- (Optional) Change Log Level and Format here...
|
|
|
|
# - loglevels [DEBUG, INFO, WARNING, ERROR, CRITICAL]
|
|
|
|
# - format [common, json, logfmt]
|
2021-09-24 14:05:19 +02:00
|
|
|
# log:
|
2023-08-16 12:14:38 +02:00
|
|
|
# level: ERROR
|
2023-09-19 13:57:14 +02:00
|
|
|
# format: common
|
|
|
|
# filePath: /var/log/traefik/traefik.log
|
2021-09-24 14:05:19 +02:00
|
|
|
|
2023-08-16 12:14:38 +02:00
|
|
|
# -- (Optional) Enable Accesslog and change Format here...
|
|
|
|
# - format [common, json, logfmt]
|
2021-09-24 14:05:19 +02:00
|
|
|
# accesslog:
|
2023-08-16 12:14:38 +02:00
|
|
|
# format: common
|
|
|
|
# filePath: /var/log/traefik/access.log
|
2021-09-24 14:05:19 +02:00
|
|
|
|
2023-08-16 12:14:38 +02: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
|
2024-06-02 22:52:57 +02:00
|
|
|
# disableDashboardAd: true
|
2023-08-16 12:14:38 +02:00
|
|
|
# insecure: true
|
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
|
2023-08-16 12:14:38 +02: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
|
|
|
|
websecure:
|
|
|
|
address: :443
|
2023-08-16 12:14:38 +02:00
|
|
|
# -- (Optional) Add custom Entrypoint
|
|
|
|
# custom:
|
|
|
|
# address: :8080
|
2021-09-24 14:05:19 +02:00
|
|
|
|
2023-08-16 12:14:38 +02:00
|
|
|
# -- Configure your CertificateResolver here...
|
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"
|
2023-08-16 12:14:38 +02:00
|
|
|
# -- (Optional) Remove this section, when using DNS Challenge
|
2021-12-14 18:12:08 +01:00
|
|
|
# httpChallenge:
|
|
|
|
# entryPoint: web
|
2023-08-16 12:14:38 +02:00
|
|
|
# -- (Optional) Configure DNS Challenge
|
2023-07-26 16:42:37 +02:00
|
|
|
# dnsChallenge:
|
|
|
|
# provider: your-resolver (e.g. cloudflare)
|
|
|
|
# resolvers:
|
|
|
|
# - "1.1.1.1:53"
|
|
|
|
# - "8.8.8.8:53"
|
2021-12-14 18:12:08 +01:00
|
|
|
# production:
|
|
|
|
# acme:
|
|
|
|
# email: your-email@example.com
|
|
|
|
# storage: /etc/traefik/certs/acme.json
|
|
|
|
# caServer: "https://acme-v02.api.letsencrypt.org/directory"
|
2023-08-16 12:14:38 +02:00
|
|
|
# -- (Optional) Remove this section, when using DNS Challenge
|
2021-12-14 18:12:08 +01:00
|
|
|
# httpChallenge:
|
2022-01-07 11:49:35 +01:00
|
|
|
# entryPoint: web
|
2023-08-16 12:14:38 +02:00
|
|
|
# -- (Optional) Configure DNS Challenge
|
2023-07-26 16:42:37 +02:00
|
|
|
# dnsChallenge:
|
|
|
|
# provider: your-resolver (e.g. cloudflare)
|
|
|
|
# resolvers:
|
|
|
|
# - "1.1.1.1:53"
|
|
|
|
# - "8.8.8.8:53"
|
2021-12-14 18:12:08 +01:00
|
|
|
|
2023-08-16 14:18:54 +02:00
|
|
|
# -- (Optional) Disable TLS Cert verification check
|
|
|
|
# serversTransport:
|
|
|
|
# insecureSkipVerify: true
|
|
|
|
|
2023-08-16 12:14:38 +02:00
|
|
|
# -- (Optional) Overwrite Default Certificates
|
2021-12-14 18:12:08 +01:00
|
|
|
# tls:
|
|
|
|
# stores:
|
|
|
|
# default:
|
|
|
|
# defaultCertificate:
|
|
|
|
# certFile: /etc/traefik/certs/cert.pem
|
|
|
|
# keyFile: /etc/traefik/certs/cert-key.pem
|
2023-08-16 12:14:38 +02:00
|
|
|
# -- (Optional) Disable TLS version 1.0 and 1.1
|
2022-02-21 09:41:33 +01:00
|
|
|
# options:
|
|
|
|
# default:
|
|
|
|
# minVersion: VersionTLS12
|
2021-09-24 14:05:19 +02:00
|
|
|
|
|
|
|
providers:
|
|
|
|
docker:
|
2023-08-16 12:14:38 +02:00
|
|
|
# -- (Optional) Enable this, if you want to expose all containers automatically
|
|
|
|
exposedByDefault: false
|
2021-12-14 18:12:08 +01:00
|
|
|
file:
|
|
|
|
directory: /etc/traefik
|
2021-12-16 11:17:18 +01:00
|
|
|
watch: true
|