GZIP plausible traffic
Plausible doesn't gzip for itself. Funnily enough the tracker is actually too small to be compressed by Traefik!
This commit is contained in:
parent
9ee4e1c14b
commit
3c7c0ec3fa
2 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,7 @@ services:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.plausible.rule=Host(`plausible.theorangeone.net`)
|
- traefik.http.routers.plausible.rule=Host(`plausible.theorangeone.net`)
|
||||||
- traefik.http.routers.plausible.tls.certresolver=le
|
- traefik.http.routers.plausible.tls.certresolver=le
|
||||||
|
- traefik.http.routers.plausible.middlewares=compress@file
|
||||||
environment:
|
environment:
|
||||||
- PORT=8080
|
- PORT=8080
|
||||||
- SECRET_KEY_BASE={{ secret_key }}
|
- SECRET_KEY_BASE={{ secret_key }}
|
||||||
|
|
|
@ -3,6 +3,8 @@ http:
|
||||||
tls-redirect:
|
tls-redirect:
|
||||||
redirectScheme:
|
redirectScheme:
|
||||||
scheme: https
|
scheme: https
|
||||||
|
compress:
|
||||||
|
compress: {}
|
||||||
|
|
||||||
routers:
|
routers:
|
||||||
tls-redirect:
|
tls-redirect:
|
||||||
|
|
Loading…
Reference in a new issue