Odoo 8 Google calendar sync. Invalid redirect URl
I am having troubles synchronizing my Google calendar account. I follow all the steps I get in the tutorial but when I create the new client ID with the IP (https://MYIP/google_account/authentication) as the tutorial said I get an "Invalid redirect URl" error.
If I try to access to this IP from my browser and I get a 500 internal server error too.
I am using an Amazon EC2 instance with nginx installed. Anyone with the same problem or a solution?