Rename plausible embed router

There's nothing really "bare" about it
This commit is contained in:
Jake Howard 2021-10-29 20:47:02 +01:00
parent 0cb2a70d24
commit 1b4d5de701
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -13,13 +13,13 @@ 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-bare.rule=Host(`elbisualp.theorangeone.net`) - traefik.http.routers.plausible-embed.rule=Host(`elbisualp.theorangeone.net`)
- traefik.http.routers.plausible-bare.service=plausible-plausible - traefik.http.routers.plausible-embed.service=plausible-plausible
# 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=plausible-index - traefik.http.routers.plausible-embed.middlewares=plausible-index
environment: environment:
- SECRET_KEY_BASE={{ secret_key }} - SECRET_KEY_BASE={{ secret_key }}