infrastructure/ansible/roles/traefik/files/file-provider.yml
Jake Howard ca188ab1b4
Rename middleware
It's not actually applying a HSTS header
2020-06-13 21:09:48 +01:00

20 lines
386 B
YAML

http:
middlewares:
internal-only:
ipWhiteList:
sourceRange:
- "10.0.0.0/8"
- "172.16.0.0/12"
- "192.168.0.0/16"
tls-redirect:
redirectScheme:
scheme: https
routers:
tls-redirect:
service: ping@internal
rule: PathPrefix(`/`)
entryPoints:
- web
middlewares:
- tls-redirect