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

20 lines
362 B
YAML

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