I am trying to redirect a query string to url and I am using like this but
it is somehow not working. Can somebody help?

rewrite ^/abc/xyz/def.php?Id=13 http://www.example.com/fhu/foo permanent;
rewrite ^/abc/xyz/def.php?Id=14 http://www.example.com/fhu/bar permanent;

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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to