Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I’m trying to set up Odoo 8 behind Nginx reverse proxy, where SSL termination is done on Nginx. The problem is that Odoo keeps setting the wrong protocol (http) when generating the URL for redirect_uri parameter for OAuth2 Google authentication.
I have the following HTTP headers set for proxy_pass:
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Front-End-Https On;
It seems Odoo doesn't care about these headers except for Host. Is there some other header I should set?
I also tried setting Odoo system parameters: web.base.url, but that has no effect either.
How can I force Odoo to use https when assembling URLs? Please help!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/19/15, 8:29 AM|
|Seen: 4174 times|
|Last updated: 4/5/17, 3:42 AM|