تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
12038 أدوات العرض

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.


الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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

الصورة الرمزية
إهمال

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/

الكاتب

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

أفضل إجابة

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/

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أغسطس 18
4819
1
أبريل 16
5490
1
مارس 15
6123
2
يوليو 24
2407
1
يونيو 24
4908