rewrite rule for subrequest

agentzh agentzh at
Wed May 12 05:41:12 MSD 2010

On Wed, May 12, 2010 at 6:04 AM, peterjanovsky <nginx-forum at> wrote:
> i've attempted putting the rewrite rule in the default location and also the subrequest2 location.  on my backend i am able to trace the request is coming from the subrequest2 location but the URL passed through is the original URL and not my modified URL.

Could you try out the $echo_request_uri variable?

Hope this helps :)


More information about the nginx mailing list