Openvbx and nginx howto:


Well, you just need a few rewrite rules to deal with openvbx on nginx:

Inside of the server block, add this.

location / {
#root /var/www/nginx-default;
root /www/virtual/vbx.example.com;

index index.html index.htm index.php;
if (-f $request_filename) {
break;
}

if (-d $request_filename) {
break;
}
rewrite ^(.*)$ /index.php?vbxsite=$1 last;

}

———–UPDATE————-
In trying to upgrade to the new hotness 0.84, I ran into two problems.
1) don’t forget to copy over your /OpenVBX/OpenVBX/config/database.php and /OpenVBX/OpenVBX/config/openvbx.php files from the old directory and into the new hotness directory.

2)”PHP Fatal error: Call to undefined function get_instance() in /OpenVBX/libraries/MY_Config.php on line 43″

Apparently, others are also having this problem. The installer wants you to use vbx.example.com/index.php/install but that will cause everything to break too. You should be able to drop the index.php and go directly to vbx.example.com/upgrade all will be well in the world.


Leave a Reply

Your email address will not be published. Required fields are marked *