infrastructure/ansible/roles/traefik/files/file-provider.yml
Jake Howard 3c7c0ec3fa
GZIP plausible traffic
Plausible doesn't gzip for itself. Funnily enough the tracker is actually too small to be compressed by Traefik!
2020-07-22 12:18:49 +01:00

16 lines
278 B
YAML

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