location uri wildcard

grd2345 nginx-forum at nginx.us
Wed Jun 11 15:06:39 UTC 2014

I actually was looking around on google for the solution, but I lazied out
and came here, but I ended up finding the solution for this, buy getting
myself familiar with regex. I used the following command to do this to maybe
help someone else needing this.

location ~* "\bClassScheduler.aspx\b" {
	rewrite  ^ http://www.mysite.com/classScheduler/? permanent;

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

More information about the nginx mailing list