Can you migrate a web app available via '/' to a proxied sub-URI without modifying the web app?

itpp2012 nginx-forum at
Tue May 9 20:58:25 UTC 2017

Francis Daly Wrote:
> nginx gets a request for /static/styles.css.
> I'm not aware of a rewrite which will let you decide which of
> web-app-1
> and web-app-2 is the correct one to proxy_pass this request to this
> time. Both web apps use the same url.

There is a distinction between web apps, the request url, which you use as a
map variable.

Posted at Nginx Forum:,274104,274116#msg-274116

More information about the nginx mailing list