I have Spring Data Rest with Hateoas as my backed. It is behind a proxy.
Backend url: backend.com
Proxy url: proxy.com
When I query proxy url, e.g. http://proxy.com/items/1
, I get a response with href
links with domain backend.com
. I need the domain to be proxy.com
.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…