41 lines
585 B
YAML
41 lines
585 B
YAML
|
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
|