Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
11958 Weergaven

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
Annuleer
Auteur Beste antwoord

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

Avatar
Annuleer

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/

Auteur

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

Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
aug. 18
4752
1
apr. 16
5450
1
mrt. 15
6075
2
jul. 24
2267
1
jun. 24
4802