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/;

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

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


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 but that will cause everything to break too. You should be able to drop the index.php and go directly to all will be well in the world.

Leave a Reply