48 lines
842 B
YAML
48 lines
842 B
YAML
## Static configuration
|
|
entryPoints:
|
|
web:
|
|
address: ":80"
|
|
#asDefault: truxe
|
|
|
|
# websecure:
|
|
# address: ":443"
|
|
# http:
|
|
# redirections:
|
|
# entryPoint:
|
|
# to: websecure
|
|
# scheme: https
|
|
# permanent: true
|
|
|
|
websecure:
|
|
address: ":443"
|
|
# http:
|
|
# tls:
|
|
# certresolver: myresolver
|
|
|
|
|
|
certificatesResolvers:
|
|
myresolver:
|
|
acme:
|
|
email: lecoiffiermathieu@gmail.com
|
|
storage: /etc/traefik/acme/acme.json
|
|
caServer: https://acme-staging-v02.api.letsencrypt.org/directory
|
|
httpChallenge:
|
|
# used during the challenge
|
|
entryPoint: web
|
|
|
|
log:
|
|
level: WARN
|
|
|
|
api:
|
|
insecure: true
|
|
dashboard: true
|
|
# entryPoint: "web"
|
|
|
|
providers:
|
|
docker:
|
|
endpoint: "unix:///var/run/docker.sock"
|
|
|
|
file:
|
|
filename: /etc/traefik/rules.yaml
|
|
watch: true
|