54 lines
913 B
YAML
54 lines
913 B
YAML
## static configuration
|
|
|
|
global:
|
|
# Send anonymous usage data
|
|
sendAnonymousUsage: false
|
|
# checkNewVersion: true
|
|
|
|
entryPoints:
|
|
web:
|
|
address: ":80"
|
|
# redirections:
|
|
# entryPoint:
|
|
# to: "websecure"
|
|
# scheme: "https"
|
|
websecure:
|
|
address: ":443"
|
|
|
|
# Access logs
|
|
# accessLog: fields:
|
|
# headers:
|
|
# names:
|
|
# User-Agent: keep
|
|
|
|
providers:
|
|
docker:
|
|
endpoint: "unix:///var/run/docker.sock"
|
|
exposedByDefault: false
|
|
file:
|
|
directory: /etc/traefik/dynamic
|
|
watch: true
|
|
|
|
certificatesResolvers:
|
|
letsencrypt:
|
|
acme:
|
|
tlschallenge: true
|
|
httpchallenge:
|
|
entrypoint: web
|
|
email: admin@tips-of-mine.fr
|
|
storage: /etc/traefik/acme/acme.json
|
|
|
|
api:
|
|
# insecure = false
|
|
dashboard: true
|
|
|
|
log:
|
|
level: DEBUG
|
|
filepath: "/var/log/traefik.log"
|
|
# default: "common"
|
|
|
|
accesslog:
|
|
filepath: "/var/log/access.log"
|
|
bufferingSize: 100
|
|
# format: common
|