title: How to configure Spring HATEOAS behind proxy?
body: <p>I have Spring Data Rest with Hateoas as my backed. It is behind a proxy.</p>
  
  <p>Backend url: <code>backend.com</code></p>
  
  <p>Proxy url: <code>proxy.com</code></p>
  
  <p>When I query proxy url, e.g. <code>http://proxy.com/items/1</code>, I get a response with <code>href</code> links with domain <code>backend.com</code>. I need the domain to be <code>proxy.com</code>.</p>