ProyectoASIR/traefik_portainer/traefik-data/traefik.yml

35 lines
581 B
YAML
Raw Normal View History

2022-05-18 20:43:18 +02:00
api:
dashboard: true
entryPoints:
web:
address: :80
http:
redirections:
entryPoint:
to: websecure
websecure:
address: :443
http:
middlewares:
- secureHeaders@file
tls:
certResolver: letsencrypt
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
file:
filename: /configurations/dynamic.yml
certificatesResolvers:
letsencrypt:
acme:
email: MAIL@mail.com
storage: acme.json
keyType: EC384
httpChallenge:
entryPoint: web