4:29 PM - Spring boot apps with apache proxy on sub directory
In the event you need to proxy from say /api/ and the context root is / in your app, you can set a header for the proxy as follows
RequestHeader set X-Forwarded-Prefix "api"
This will make hateaos URLs work properly in output.
tags: proxy spring apache hateaos boot
0 comments