self-hosted/traefik/sample.traefik.yml

36 lines
557 B
YAML
Raw Normal View History

2021-12-13 20:29:29 +01:00
api:
dashboard: true
entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: websecure
permanent: true
websecure:
address: ":443"
2022-05-27 18:44:46 +02:00
git:
address: ":2222"
2021-12-13 20:29:29 +01:00
serversTransport:
maxIdleConnsPerHost: 1
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
network: proxy
log:
level: INFO
certificatesResolvers:
letsencrypt:
acme:
email: tucorreo@electronico.es
storage: acme.json
httpChallenge:
entryPoint: web