On 23 Fev 2012 06h45 CET, nginx-forum@nginx.us wrote:
> How do I rewrite URIs of the form
>
> http://domain1/one/two?three=four
>
> to
>
> http://domain2?path=http%3A%2F%2Fdomain1%2Fone%2Ftwo%3Fthree%3Dfour
To escape you need to do a capture.
rewrite ^(.*)$ http://domain2?path=$1;
--- appa
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx