Apply gzip to everything

The middleware is smart enough to only apply it when needed, and only when it's not already compressed, so it's fine.
This commit is contained in:
Jake Howard
2021-09-19 22:48:48 +01:00
parent 83ed8879dc
commit 48934ad2c5
5 changed files with 2 additions and 5 deletions

View File

@ -13,7 +13,6 @@ services:
- traefik.http.routers.plausible.rule=Host(`plausible.theorangeone.net`)
- traefik.http.services.plausible-plausible.loadbalancer.server.port=8000 # https://github.com/plausible/analytics/pull/237
- traefik.http.routers.plausible.tls.certresolver=le
- traefik.http.routers.plausible.middlewares=compress@file
- traefik.http.routers.plausible-bare.rule=Host(`elbisualp.theorangeone.net`)
- traefik.http.routers.plausible-bare.tls.certresolver=le
@ -22,7 +21,7 @@ services:
# https://github.com/plausible/analytics/pull/340
- traefik.http.middlewares.plausible-index.replacepathregex.regex=/js/index.js
- traefik.http.middlewares.plausible-index.replacepathregex.replacement=/js/plausible.js
- traefik.http.routers.plausible-bare.middlewares=compress@file,plausible-index
- traefik.http.routers.plausible-bare.middlewares=plausible-index
environment:
- SECRET_KEY_BASE={{ secret_key }}