50 lines
740 B
YAML
Executable File
50 lines
740 B
YAML
Executable File
global:
|
|
sendAnonymousUsage: false
|
|
|
|
api:
|
|
dashboard: true
|
|
insecure: true
|
|
|
|
providers:
|
|
docker:
|
|
endpoint: "unix:///var/run/docker.sock"
|
|
watch: true
|
|
exposedByDefault: false
|
|
|
|
file:
|
|
filename: /etc/traefik/config.yml
|
|
watch: true
|
|
|
|
log:
|
|
level: INFO
|
|
format: common
|
|
|
|
entryPoints:
|
|
http:
|
|
address: ":80"
|
|
https:
|
|
address: ":443"
|
|
|
|
http:
|
|
routers:
|
|
redirecttohttps:
|
|
entryPoints:
|
|
- "http"
|
|
middlewares:
|
|
- "httpsredirect"
|
|
http:
|
|
middlewares:
|
|
httpsredirect:
|
|
redirectScheme:
|
|
scheme: https
|
|
permanent: true
|
|
|
|
accessLog:
|
|
filePath: "/var/log/traefik/access.log"
|
|
fields:
|
|
defaultMode: keep
|
|
names:
|
|
StartUTC: drop
|
|
headers:
|
|
defaultMode: keep
|