Skip to Content
Menu
This question has been flagged
2 Replies
1020 Views

Hi everyone,

I installed odoo14 on Centos 7 and could connect to it via mydomain.com:8096, but not mydomain.com. How can I use the domain name only without the port?

Thank you!

Avatar
Discard
Author Best Answer

Thank you Paresh. I could access the site via  http://mydomain.com:8096. I could also install an SSL for mydomain.com, but couldn't go to the site at https://mydomain.com. It says: 

502 Bad Gateway

nginx / 1.20.1

I guess I misconfigure a config file but couldn't figure it out. 

Avatar
Discard
Best Answer

Hi Minh:

You will need to configure a "reverse proxy" server to redirect traffic to mydomain.com:8096.

The following link provides instructions on how to configure nginx as a reverse proxy for Odoo.

https://linuxize.com/post/configure-odoo-with-nginx-as-a-reverse-proxy/


Avatar
Discard