I would like to know how I can achieve the following using the nginx rewrite module, I do not have much experience with regex.
I would like to redirect a URL from
http://www.example.com/foo/1/bar/2/
rewrite to:
http://www.example.com:9000/foo/1/bar/2/
thanks
1 Answer