Nginx + SSL LetsEncrypt on odoo.sh doesn t redirect http://www. to https://www. | Odoo
I have a letsEncryptSSL-certificate provided by odoo.sh
…but when you browse to my website on: www.samadeva.com/event
you are not redirected to the corresponding SSL-page: www.samadeva.com/event
In odoo.sh, it seems to me that i have no access to the NGINX configuration ?
it seems that the Configuration in Nginx should be revisited, so that all requests for the www\\.mywebsite\\.com\\ will\\ be\\ converted\\ into\\ www.mywebsite.com equivalent addresses.
Does anybody knows how to perform this kind of configuration in odoo.sh ?
server { listen 80; rewrite ^(.*) https://$host$1 permanent; }
Read more here: Source link