I am trying to reverse proxy in nginx, rewriting a front end page like "/a/b?page=2" into a backend request to "/a/b%3fpage=2"
I cannot figure out how to get nginx to make reverse proxy requests which include "%3f".
With the following config:
rewrite ^/one$ /a%3fb;
rewrite ^/two$ /a?b;
rewrite ^/three$ /a\?b;
/onemakes a backend request likeGET /a%253fb HTTP/1.0/twomakes a backend request likeGET /a?b HTTP/1.0/threemakes a backend request likeGET /a\?b HTTP/1.0
How can I get a backend request like GET /a%3fb HTTP/1.0?