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

21 lines
380 B
YAML
Raw Normal View History

2020-02-02 21:10:29 +00:00
http:
middlewares:
internal-only:
ipWhiteList:
sourceRange:
2020-06-18 20:49:12 +01:00
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
tls-redirect:
redirectScheme:
scheme: https
2020-02-02 21:10:29 +00:00
routers:
tls-redirect:
2020-03-25 21:27:15 +00:00
service: ping@internal
rule: PathPrefix(`/`)
2020-02-02 21:10:29 +00:00
entryPoints:
- web
middlewares:
- tls-redirect