Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
6140 Переглядів

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.

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити