We have setup our OpenERP7 and added ssl redirection by following the guide provied by schenkels This is working greatly since many months without issues
Now we want to use OpenID to logon our OpenERP server. We activated the OpenID module and set the users with their OpenID.
When we login, we are redirected to our OpenID provider pages wich asks us to confirm login to our server but the URL provided is beginning with http://...
instead of https://..
And so I got an error of nginx reverse proxy telling me :
400 Bad Request
The plain HTTP request was sent to HTTPS port
If I edit the URL in the browser addresss bar to add the missing "s" after http
, then the login process complete and I get into OpenERP. So it would be nice if OpenID module can send the correct URL to the IdP or to rewrite the URL at nginx level but I am not sure I can put a rewrite condition in nginx because as far as I know nginx is not able to receive http and https on the same port... How can I fix this ?
Thanks for your support.