Skip to content

Usage #5

Description

@trmendes

Hi!

I would first like to thank you for taking your time to develop such plugin :)

I would like to have your plugin running for some of my services.

For now, I have a config that looks like this:

      # Umami
      - "traefik.http.middlewares.umami-hauk.plugin.traefik-umami-plugin.umamiHost=umami:3000"
      - "traefik.http.middlewares.umami-hauk.plugin.traefik-umami-plugin.websiteId=3590d714-4221-4075-ac33-88241e5b21fe"
      - "traefik.http.middlewares.umami-hauk.plugin.traefik-umami-plugin.scriptInjectionMode=tag"
      - "traefik.http.middlewares.umami-hauk.plugin.traefik-umami-plugin.ForwardPath=https://umami.mydomain.com"
      # Make usage
      - "traefik.http.routers.hauk.middlewares=ratelimit,secure-headers,authelia,umami-hauk"

https://umami.mydomain.com is the URL to access umami and when I have a new page to be tracked the tracking code script has `src=https://umami.mydomain.com/scripts.js'


When I check traefik logs I see:

g=[traefik-umami-plugin] script: <script async defer data-host-url='/https://umami.mydomain.com' src='/https://umami.mydomain.com/script.js' data-website-id='3590d714-4221-4075-ac33-88241e5b21fe' data-auto-track='true'></script>

It seems that the configuration is incorrect. Could you please guide me on how to configure it properly?

Thanks once again.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions