Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
11973 Zobrazení

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.


Avatar
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit

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.

Nejlepší odpověď

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/

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
srp 18
4759
1
dub 16
5455
1
bře 15
6080
2
čvc 24
2280
1
čvn 24
4820