Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
6144 Näkymät

Hey all. I'm setting up odoo for our company. We're using our own custom dockerized setup. Everything is working well, except for any redirects within odoo seem to be losing the port. We have it running on the standard port, with an nginx reverse proxy in front of it, which runs on localhost:3500, but anytime we logout, or if the db isn't setup yet, it will redirect to just localhost without the port, so instead of:

http://localhost:3500/web/login

It redirects to

http://localhost/web/login

Anybody run into this issue before? Been searching and looking through settings file with no luck.

Avatar
Hylkää
Paras vastaus

Hi rick, just ran in the same issue as you.


Did you find any solution fot this?


____EDIT____

Just add the proxy headers in the request to odoo server and be sure to set the proxy_mode to true in the odoo.conf



You can read the documentation, and if you don't want to add https support just ignore the SSL part.



https://www.odoo.com/documentation/10.0/setup/deploy.html

Avatar
Hylkää