Make Odoo run on port 80 with Nginx.
first of all sorry for my bad English. I’m new to vps and I’ve been learning to setup my own just now.
So I installed LEMP and Odoo in my VM, i installed WordPress on the lemp stack. Odoo is running in the different port of 8069. Right now if I open my public ip on http://my\_public\_id (i dont have a domain yet) it will right away show me the wordpress page.
What I want to achieve is, i want to be able to access my odoo via http://my\_public\_id/odoo rather than http://my\_public\_id:8069 I know, i probably should have use port 443 https rather than port 80 http, but I want to know how it works first.
I’ve been searching for answers in google, It’s about the server block and proxy passing, but I don’t know, the learning curve is too steep and my limitation to understand the English jargons doesn’t quite cut it. Please bear with my skill on this.
Thank you very much
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.