location / {
   index index.php;
   if (!-e $request_filename) {
   rewrite  ^(.*)$  /index.php/$1  last;
   break;
    }
}
