Hi, i have a website running odoo, now to reach the website its required to have :8069 at the end of the url. how can i remove it? i have tried googling and searching online but nothing seems to work for me. im using nginx to redirect the :8069 to normal port 80 or 443 so i can type the url without the port and still reach the website but i just can not get it to work.
im trying this code from the odoo guide but it doesnt help me much...
server { listen 80; server_name odoo.mycompany.com; rewrite ^(.*) https://$host$1 permanent; }
it just returns me to the normal nginx welcome screen.
i have also tried
server { listen 80; server_name odoo.mycompany.com; return 301 http://$host$server_name; }
this just returns and endless loop of url?
example: odoo.mycompany.com/odoo.mycompany.com/odoo.mycompany.com/
exactly like that but never ending... and it doesnt work ofcourse..
can someone help me?
Please read the documentation and study the nginx configuration example there.