81 lines
1.9 KiB
YAML
81 lines
1.9 KiB
YAML
################################################################
|
|
# Global configuration
|
|
################################################################
|
|
|
|
global:
|
|
checkNewVersion: true
|
|
sendAnonymousUsage: false
|
|
|
|
################################################################
|
|
# EntryPoints configuration
|
|
################################################################
|
|
|
|
entryPoints:
|
|
web:
|
|
address: :80
|
|
http:
|
|
redirections:
|
|
entryPoint:
|
|
to: "websecure"
|
|
scheme: "https"
|
|
|
|
websecure:
|
|
address: :443
|
|
http3: {}
|
|
forwardedHeaders:
|
|
trustedIPs:
|
|
- "0.0.0.0/0"
|
|
transport:
|
|
respondingTimeouts:
|
|
idleTimeout: "0s"
|
|
readTimeout: "0s"
|
|
writeTimeout: "0s"
|
|
|
|
################################################################
|
|
# API and dashboard configuration
|
|
################################################################
|
|
|
|
api:
|
|
insecure: true
|
|
dashboard: true
|
|
|
|
################################################################
|
|
# Docker configuration backend
|
|
################################################################
|
|
|
|
providers:
|
|
docker:
|
|
endpoint: "unix:///var/run/docker.sock"
|
|
exposedByDefault: false
|
|
network: "traefik"
|
|
file:
|
|
directory: "/etc/traefik/dynamic"
|
|
watch: true
|
|
providersThrottleDuration: 10
|
|
|
|
certificatesResolvers:
|
|
tls-resolver:
|
|
acme:
|
|
email: postmaster@example.com
|
|
storage: "/etc/traefik/acme/acme.json"
|
|
tlsChallenge: {}
|
|
|
|
################################################################
|
|
# Allow HTTPs apps
|
|
################################################################
|
|
|
|
serversTransport:
|
|
insecureSkipVerify: true
|
|
|
|
################################################################
|
|
# Logging
|
|
################################################################
|
|
|
|
metrics:
|
|
prometheus:
|
|
buckets:
|
|
- 0.1
|
|
- 0.3
|
|
- 1.2
|
|
- 5.0
|
|
addRoutersLabels: true |