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:
@ -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 }}
|
||||
|
Reference in New Issue
Block a user