Hmmm… that’s not really an option. The upstream does not know that
it’s
under a subdir of the domain (and the devs insist that it shouldn’t be
coupled to that).
Also, if the cookie detection lines are commented out, the proxy_pass
(w/
the ending forward slash) works as expected.
This specific behavior (cookie detection affecting proxy_pass) seems
rather
inconsistent. =/
Other than that the requirements are similar to the thread named
“Rewriting
location directive by upstream servers”.
Thanks
Marcello Rocha
Pesquisa & Desenvolvimento
Date: Fri, 26 Sep 2014 14:11:57 -0300