For enable URL rewrite on nginx server,you should put these code to nginx.conf
if (!-e $request_filename){
rewrite ^/sweetrice_root/.+$ /sweetrice_root/index.php last;
}Note:sweetrice_root must be SweetRice root directory
and put these code to nginx.conf to protect SweetRice data file
location ~* \.(db|txt)$ {
if (-f $request_filename) {
root sweetrice_root/inc/;
break;
}
}Note:sweetrice_root must be SweetRice root directory