I proxy the Spring REST backend like this:
Backend:
http://backend:8080
Proxy server:
localhost:3000/api/backend -> http://backend:8080
If I look locally to a proxied endpoint, it proxies the request, however the links do not include the proxy path, i.e.
GET localhost:3000/api/backend/people
"href": "http://localhost:3000/people"
I expect this to be:
"href": "http://localhost:3000/api/backend/people"
Is there any way to fix this?
Thank!
dardo source
share