gitea-docker/traefik/traefik.yml

35 lines
581 B
YAML

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: /dynamic.yml
certificatesResolvers:
letsencrypt:
acme:
email: git@magelangkota.go.id
storage: /acme/acme.json
keyType: EC384
httpChallenge:
entryPoint: web