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
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
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