-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
kind/bug/confirmeda confirmed bug (reproducible).a confirmed bug (reproducible).
Description
Hi,
I am trying to get this plugin to work using docker labels. I am not having any success to get it working. For testing, I am trying to replace 'en' to 'es' in the page but cannot get this to work. My goal is to use this to change the theme.
Static Config:
command:
--pilot.token=$TOKEN
--experimental.plugins.theme_changer.modulename=github.com/traefik/plugin-rewritebody
--experimental.plugins.theme_changer.version=v0.3.1Dynamic Config:
labels:
- "traefik.enable=true"
- "traefik.http.routers.sonarr-rtr.entrypoints=web"
- "traefik.http.routers.sonarr-rtr.rule=Host(`sonarr.$BASE_HOST`)"+
- "traefik.http.routers.sonarr-rtr.service=sonarr-svc"
- "traefik.http.middlewares.rewrite_theme.plugin.theme_changer.rewrites[0].regex=en"
- "traefik.http.middlewares.rewrite_theme.plugin.theme_changer.rewrites[0].replacement=es"
- "traefik.http.routers.sonarr-rtr.middlewares=rewrite_theme"
- "traefik.http.services.sonarr-svc.loadbalancer.server.port=8989"Thank you for any help / direction.
Metadata
Metadata
Assignees
Labels
kind/bug/confirmeda confirmed bug (reproducible).a confirmed bug (reproducible).