I have a question regarding the Nginx configuration which is generated by a creating a proxy port application.
I've created an "Nginx proxy port" application, attached it to a site and can see the traffic come into the rest-server I have running. The issue is the base url is being passed to the server rather than being stripped as I would like to configure. The rest-server I'm trying to configure with the proxied port uses the first portion of the request as the "user", so it see the "user" as "/<path>/<user>" rather than only "/<user>"
Site configured as follows:
<Django app> -> /
<Nginx Static Only app> -> /static/
<Nginx Proxy Port app> -> /path/
I've tried configuring the application on the site without the trailing slash, "/path" and it is added back on after updating "/path/".
Is there a method to have the proxied port direct traffic from "/path/example" to "/example", i.e. allow Nginx to replace the matching part of the request?
Is there a different application to use instead of "Nginx Proxy Port" to solve this?
Is there simply an additional location to modify the nginx.conf file I am missing?