-
|
I couldn't find any answer to this but I'm trying to basically just move something to a subpath. I can access the service at the subpath but any subsequent paths don't work. So if I want to go from For example, it tries to get |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
The important distinction is that Pangolin/Traefik path rewrite only changes the inbound request before it is proxied upstream. It cannot make the upstream app generate subpath-aware URLs in the browser. So this part can work: But if the app later makes an absolute request to That request no longer has the The reliable options are:
Adding another target for |
Beta Was this translation helpful? Give feedback.
The important distinction is that Pangolin/Traefik path rewrite only changes the inbound request before it is proxied upstream. It cannot make the upstream app generate subpath-aware URLs in the browser.
So this part can work:
But if the app later makes an absolute request to
/api/content, the browser requests:That request no longer has the
/machine-name-1prefix, so it will not match the/machine-name-1route.The reliable options are:
machine-name-1.admin.domain.comandmachine-name-2.admin.domain.com.