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: spring apache boot proxy hateaos
0 comments