This question has been flagged
1 Reply
3038 Views

I have configured OpenERP7 on Ubuntu with NGINX webserver.. But, could not succeed in pointing/mapping  particular database to a URL sothat users do not see the list of DBs

Any Ideas to achieve this?

Avatar
Discard
Best Answer

This has more to do with how you start openerp-server, and not really anything you do with Ubuntu or nginx. You can pass the openerp-server command a -d flag to specify only one particular database. If you're using an /etc/init.d script to start/stop openerp7 as a service, you'll need to edit your executable line. Otherwise just start the service with something like this:

/opt/openerp/openerp-server -d <my database>

Obviously the path to openerp-server will depend on where you put it, and you'll need to replace <my database> with your desired database, but this should get you on the right track.

Also this discussion may be helpful.

Avatar
Discard