traefik/traefik.yml
2024-05-21 08:17:45 +02:00

47 lines
750 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: acme.json
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