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