Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
6138 Vizualizări

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează