if (!-f $request_filename){
        set $rule_0 1$rule_0;
   }
   if (!-d $request_filename){
        set $rule_0 2$rule_0;
   }
   if ($request_filename !~ "-l"){
        set $rule_0 3$rule_0;
   }
   if ($rule_0 = "321"){
        rewrite /([feed\/].*)$ /index.php? last;
   }
   rewrite /feed\/(.*)$ /feed.php? last;
if (-f $request_filename) {
  break;
}
if (!-e $request_filename) {
  rewrite ^/([^feed\/].*)$ /index.php?$1 last;
  rewrite /feed\/(.*)$     /feed.php?$1  last;
  break;
}