Hello everyone.
I am using a rewrite similar to below

    location /home {
        rewrite ^/(.*) https://mysite.com/homepage/?next=/redirectionurl
redirect;
    }

The issue is that nginx is not encoding the URL before it redirects.

So this is failing at the server that is receiving this request.

Can someone help me in encoding the rewritten URL.

Thanks a lot in advance

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,253045,253045#msg-253045

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to