nginx reverse proxy + Spring ResourceSupport produces wrong URL path prefix nginx reverse proxy + Spring ResourceSupport produces wrong URL path prefix nginx nginx

nginx reverse proxy + Spring ResourceSupport produces wrong URL path prefix


Can you please have a look at the Proxy headers that your request contains when it hits your service. spring-hateoas would process the x-forwarded-prefix header and prepend it to your path.

Have a look at this answer here:https://stackoverflow.com/a/36163242/5371736