rewrite rule for subrequest

agentzh agentzh at gmail.com
Wed May 12 05:41:12 MSD 2010


On Wed, May 12, 2010 at 6:04 AM, peterjanovsky <nginx-forum at nginx.us> 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?

    http://wiki.nginx.org/NginxHttpEchoModule#.24echo_request_uri

Hope this helps :)

-agentzh



More information about the nginx mailing list