Rewrite

thinkbot nginx-forum at nginx.us
Sun Nov 29 23:53:49 MSK 2009


Thank you Igor !!!

One more thing, is there a way to put there regular expressions, something like

location = /rss.xml {
if ($args ~ ^type=popular&cid=([0-9]+) {
rewrite ^ /cache/rss/popular_$1.xml break;
}
}

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





More information about the nginx mailing list