Traefik dashboard ui to host address

I want to use traefik to route my host address (pi.local and 192.168.1.3) to the nodered dashboard (pi.local:1883/ui and 192.168.1.3:1883/ui)

Im new to traefik, so trying to set this all up in my config.yml (below). Not sure how to debug this.

http:
  routers:
    nodered:
      entryPoints:
        - "web"
      rule: "Host(`pi.local`)"
      middlewares:
        - add-ui
      service: nodered

  services:
    nodered:
      loadBalancer:
        servers:
          - url: "pi.local:1880/ui"
        passHostHeader: true

  middlewares:
    add-ui:
      addPrefix:
        prefix: "/ui"

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.