Hello,
I am new to Nginx, and have be struggling with a proxy pass configuration from Apache.
Currently, my apache config is setup as a reverse proxy. Basically, it takes this url http://main/services/env/service_name/version/status and proxies the request to a new URL http://VIP/service_name/version/status, which is all seemless to the user.
From my apache config:
<LocationMatch /services/env$>
Redirect /services/env http://main/services/env/
</LocationMatch>
<Location /services/devnre/>
ProxyPass http://VIP:8011/
RequestHeader set X-Url-Prefix "http://main/services/devnre"
</Location>
Thanks a lot.