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:
parent
83ed8879dc
commit
48934ad2c5
5 changed files with 2 additions and 5 deletions
|
@ -13,7 +13,6 @@ services:
|
||||||
- traefik.http.routers.plausible.rule=Host(`plausible.theorangeone.net`)
|
- 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.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.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.rule=Host(`elbisualp.theorangeone.net`)
|
||||||
- traefik.http.routers.plausible-bare.tls.certresolver=le
|
- traefik.http.routers.plausible-bare.tls.certresolver=le
|
||||||
|
@ -22,7 +21,7 @@ services:
|
||||||
# https://github.com/plausible/analytics/pull/340
|
# https://github.com/plausible/analytics/pull/340
|
||||||
- traefik.http.middlewares.plausible-index.replacepathregex.regex=/js/index.js
|
- traefik.http.middlewares.plausible-index.replacepathregex.regex=/js/index.js
|
||||||
- traefik.http.middlewares.plausible-index.replacepathregex.replacement=/js/plausible.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:
|
environment:
|
||||||
- SECRET_KEY_BASE={{ secret_key }}
|
- SECRET_KEY_BASE={{ secret_key }}
|
||||||
|
|
|
@ -13,4 +13,3 @@ services:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.privatebin.rule=Host(`bin.theorangeone.net`)
|
- traefik.http.routers.privatebin.rule=Host(`bin.theorangeone.net`)
|
||||||
- traefik.http.routers.privatebin.tls.certresolver=le
|
- traefik.http.routers.privatebin.tls.certresolver=le
|
||||||
- traefik.http.routers.privatebin.middlewares=compress@file
|
|
||||||
|
|
|
@ -23,7 +23,6 @@ services:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.tt-rss.rule=Host(`tt-rss.jakehoward.tech`)
|
- traefik.http.routers.tt-rss.rule=Host(`tt-rss.jakehoward.tech`)
|
||||||
- traefik.http.routers.tt-rss.tls.certresolver=le
|
- traefik.http.routers.tt-rss.tls.certresolver=le
|
||||||
- traefik.http.routers.tt-rss.middlewares=compress@file
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
tmpfs:
|
tmpfs:
|
||||||
|
|
|
@ -16,6 +16,7 @@ entryPoints:
|
||||||
http:
|
http:
|
||||||
middlewares:
|
middlewares:
|
||||||
- floc-block@file
|
- floc-block@file
|
||||||
|
- compress@file
|
||||||
proxyProtocol:
|
proxyProtocol:
|
||||||
trustedIPs:
|
trustedIPs:
|
||||||
- "{{ wireguard.cidr }}"
|
- "{{ wireguard.cidr }}"
|
||||||
|
|
|
@ -11,4 +11,3 @@ services:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.uptime-kuma.rule=Host(`uptime.jakehoward.tech`)
|
- traefik.http.routers.uptime-kuma.rule=Host(`uptime.jakehoward.tech`)
|
||||||
- traefik.http.routers.uptime-kuma.tls.certresolver=le
|
- traefik.http.routers.uptime-kuma.tls.certresolver=le
|
||||||
- traefik.http.routers.uptime-kuma.middlewares=compress@file
|
|
||||||
|
|
Loading…
Reference in a new issue