infrastructure/ansible/roles/traefik/files/file-provider.yml

14 lines
245 B
YAML

http:
middlewares:
tls-redirect:
redirectScheme:
scheme: https
routers:
tls-redirect:
service: ping@internal
rule: PathPrefix(`/`)
entryPoints:
- web
middlewares:
- tls-redirect