Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
12043 Vizualizări

Hi,

I've got some questions. I will try describe my problem as well as i can.

I've got website example.com on apache2 server on a2hosting on CentoOS with ssl certificate. I've created odoo instance on the same server which run here: example.com:8069. My question is how can i set ssl certificate for both apps. Website works under 80 or 443 port but odoo works on 8069 and i have no idea how can i redirect odoo through 443 port or add ssl for port 8069. I've spend a lot of time to resolve this problem without happy ending :( Anybody has similar problem and can help me because i'm stuck and i don't know what can i do more to turn on ssl to odoo next to my website on the same server. I've really really grateful if someone help me soon. I hope someone help to resolve problem.


Imagine profil
Abandonează
Autor Cel mai bun răspuns

I've got apache2 not nginx. Have you got similar post about apache2. I was trying different configuration but nothing happened.

Imagine profil
Abandonează

Here's something for Odoo 10. I havent tried this out with 12 but it should be similar.

https://www.rosehosting.com/blog/how-to-install-odoo-10-on-ubuntu-16-04-with-apache-as-a-reverse-proxy/

Autor

I was trying this one solution but doesn't work :( I have no idea how can set correctly web server for handle this request.

Cel mai bun răspuns

You can use a reverse proxy to direct traffic to the appropriate app. The following link on how to configure nginx as a reverse proxy with Odoo will be helpful. https://linuxize.com/post/configure-odoo-with-nginx-as-a-reverse-proxy/

You will also need to add configuration for your regular website. This link may help for it. https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
aug. 18
4829
1
apr. 16
5495
1
mar. 15
6153
2
iul. 24
2412
1
iun. 24
4917