Community mailing list archives
RE: Odoo using nginx reverse proxyby
Even though the mentioned case is using Apache, the info in this thread might help. https://github.com/odoo/odoo/issues/1401
From: INVITU [mailto:firstname.lastname@example.org]
Sent: Wednesday, November 26, 2014 4:03 AM
Subject: Re: Odoo using nginx reverse proxy
you can do it with one proxy, one odoo instance, one db instance :
Computer & Network Engineering
BP 32 - 98713 Papeete - French Polynesia
Tél: +689 40 46 11 99
P Please consider the environment before printing this e-mail!
Le 25/11/2014 07:52, Houssine BAKKALI a écrit :
<blockquote cite="mid:CANNbhR98Z4RhgJs-n9r+bxczw82Su07KPi=ro+zfYBOt_dJPqw@mail.gmail.com" type="cite">
yes, odoo each server instance should have it's own postgres user...
2014-11-25 16:23 GMT+01:00 Melvin Miguel Martinez <email@example.com>:
The configuration file would odoo-server.conf this:
list_db = False
db_filter = 'db1'
would have to create a new user look at the other database, because even point to another port, if I use the same user I can see the other database, right?
hope its recommendations, thanks in advance
2014-11-25 9:53 GMT-04:00 Jos De Graeve <firstname.lastname@example.org>:
In such cases i just run one odoo server in 'single database' mode behind nginx, and a second odoo server on a different port number without the single DB mode.
That way you can have your production system behind nginx running your website, and a second instance for testing / staging etc.
2014-11-25 14:27 GMT+01:00 Melvin Miguel Martinez <email@example.com>:
I am using Odoo v8 on a vps using nginx reverse proxy which points to a domain with your ssl certificate, and I have several database running which one would like to be the default. Ejm.
if I have a domain name mydominio.com and 2 db1 and db2 database data, assuming the db1 is the main, if point to mydominio.com mydominio.com/web/database/selector routed me, and what I want is I routed to the homepage of db1 because in this I have my website, as I can accomplish this?
This is the server that I use block