Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
12054 Widoki

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.


Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć

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.

Najlepsza odpowiedź

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/

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sie 18
4845
1
kwi 16
5504
1
mar 15
6165
2
lip 24
2423
1
cze 24
4937