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

15 lines
245 B
YAML

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