title: Confussed on how to rewrite the path with Traefikv2
body: <p>I have a backend Intersystems application at <a href="http://internal.domain.com:57772/csp/obj/cpocdashboard.csp" rel="nofollow noreferrer">http://internal.domain.com:57772/csp/obj/cpocdashboard.csp</a> which I am trying to proxy to the outside world with <a href="https://dash.domain.com" rel="nofollow noreferrer">https://dash.domain.com</a> using traefik. I'm having a hard time trying to find an example that's easy for a noob to understand. I started out with this, and it's not working.</p>
  <pre><code>[http.routers]
    [http.routers.poc_dash-rtr]
        entryPoints = [&quot;https&quot;]
        rule = &quot;Host(`dash.domain.com`)&quot;
        service = &quot;poc_dash-svc&quot;
        middlewares = [&quot;chain-basic-auth&quot;]
        [http.routers.poc_dash-rtr.tls]
          certresolver = &quot;lets-encrypt&quot;
          
  [http.services]
    [http.services.poc_dash-svc]
      [http.services.poc_dash-svc.loadBalancer]
        passHostHeader = true
        [[http.services.poc_dash-svc.loadBalancer.servers]]
          url = &quot;http://192.168.170.16:57772/csp/obj/cpocdashboard.csp&quot;
  </code></pre>
  <p>Can someone point me to the redirection and maybe explain a little or point me to a place we it is easily understandable? Thanks for all help</p>