Files
Docker/traefik/traefik-conf.yaml

62 lines
1.1 KiB
YAML

# Global configuration
global:
checkNewVersion: false
sendAnonymousUsage: false
# Entrypoints configuration
entryPoints:
web:
address: :80
http:
redirections:
entryPoint:
to: websecure
scheme: https
permanent: true
websecure:
address: :443
asDefault: true
http:
tls: true
# certresolver: tlsResolver
# Certificate Resolvers configuration
#certificatesResolvers:
# tlsResolver:
# acme:
# email: proxy@example.com
# storage: /etc/traefik/certs/acme.json
# tlsChallenge: true
# Traefik logs configuration
log:
level: DEBUG
# filePath: os.Stdout
# format: common
# Access logs configuration
accessLog:
# filePath: os.Stdout
format: genericCLF
# API and dashboard configuration
api:
insecure: false
dashboard: true
# Ping configuration
#ping:
# entrypoint: traefik
# Backend configuration
providers:
docker:
# endpoint: unix:///var/run/docker.sock
# defaultRule: Host(`{{ normalize .Name }}.docker.localhost`)
exposedByDefault: false
network: proxy
file:
directory: /etc/traefik/config
watch: true