Re: https redirection not working correctly

2015-12-30 Thread Parzip
could this be related to the forwarding of the address? This is my domain registrar setting: X.ch => web alias to subdomain.X.ch subdomain.X.ch => A record to IP address of my server I need this setup because my odoo-erp selects the database according to my subdomains. Posted at Ngi

Re: https redirection not working correctly

2015-12-30 Thread Parzip
Hello Kevin! Thank you very much, but it's still not working ## odoo backend ## upstream odoo { server 127.0.0.1:8069; } ## http redirects to https ## server { listen 80; server_name *.X.ch www.X.ch X.ch; return 301 https://$server_name$request_uri; } ## https site## serv

https redirection not working correctly

2015-12-30 Thread Parzip
Hello! I am trying to set up nginx to - switch from http traffic to https - send alls https traffic to my odoo backend on port 8069 This is already working for different subdomains, but not for the domain itself. http://(www.)subdomain.domain.ch => https://(www.)subdomain.domain.ch http://(ww