Note: Please do not mark this question as a duplicate of How to configure Spring HATEOAS behind proxy?, this question talks about JAX-RS, not Spring.
I have a proxy with ExpressJS, and a REST API using Jersey. I also have HATEOAS in my endpoints.
In the responses, instead of having proxy.com
as the URL, I am getting backend.com
.
Like in How to configure Spring HATEOAS behind proxy?, I've added the X-Forwarded-Host
header but still no success.