After 2 days of scratching my head, it just hit me what was wrong. location /services/env/ { proxy_pass http://vip:8011; proxy_set_header X-Url-Prefix http://main/services/env; I forgot the trailing slash here: proxy_pass http://vip:8011/; All is working now. Whew. Now time for some load testing.by tchong - Migration from Other Servers
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: <LocationMatchby tchong - Migration from Other Servers