Skip to Content
Menu
This question has been flagged
4 Replies
3826 Views

Please i need a full configuration of two or three domains with apache. (odoo9) in ubuntu16.04.

How can i configure odoo-server.conf file, ports.conf file, and vhosts file or other file.

i'm still a beginer in odoo, i would like to understand the operation of multi domaine in odoo with apache technologie in particular and put it into practice.

thank's.

Avatar
Discard
Author Best Answer

Please how can i create one  user (unix and postgresql) per database.

Eg :

domain: domain1.com

user: odoo1

db : db1 ( owner: odoo1)

port 8069


domain : domain2.com

user: odoo2

db : db2 ( owner odoo2)

port 8169


thank's

Avatar
Discard
Best Answer

You should make yourself familiar with web applications and proxy servers.

Please check this: http://antiun.github.io/odoo-reverse-proxy-howto/

but do not use self-signed certificates, use Let's Encrypt certificates for example.

And if you want an easy-to-use proxy server, which handles TLS on demand and automatic SSL, you may want to check www.caddyserver.com.

Avatar
Discard
Best Answer

It is my understanding that Odoo prefers NGINX as a proxy server, not Apache.  NGINX works really well for this, and the setup is quite easy.

Read This:

https://www.odoo.com/documentation/9.0/setup/deploy.html#id7

Avatar
Discard

No, Odoo does of course not prefer any proxy server, because there is no technical dependency.

Hello @ErminTrevisan. It may be true there are no technical reasons why Apache, or another proxy server couldn't be used, the fact that Odoo has placed directions on how to use NGINX is some type of proof that they suggest (prefer) this method. I don't care to argue the point, just trying to help this person to make his life a little easier. I have followed their directions successfully so I think he could also.