Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
3755 Vistas

I have a letsEncryptSSL-certificate provided by odoo.sh ...but when you browse to my website on: http://www.samadeva.com/event you are not redirected to the corresponding SSL-page: https://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 http://www\\.mywebsite\\.com\\ will\\ be\\ converted\\ into\\ https://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;
}


Avatar
Descartar
Mejor respuesta

Hello,

If the sub-domain is properly configured (CNAME record + added to the branch settings), Odoo.sh is actually supposed to manage the redirection from http://www.example.com to https://www.example.com; in case of problem, you usually just need to delete and then add the domain back to the branch settings.

However, it's true that securing the connection to https://example.com (and writing the redirection to https://www.example.com) is done outside the platform as naked domains are not currently supported.

Avatar
Descartar
Mejor respuesta

Hi,

You need SSL on your.domain.com DNS hosting. Currently, SSL is automatic enable for all odoo.sh domain for example, yourdomain.odoo.com. However, on your own domain you need the SSL, and enable the redirecting via cpanel from http to https for your own domain. 

You need the nginx if you host it on-prem, then the reverse proxy will work perfectly. 


Unless you host yourdomain.com with Odoo which is currently NOT available. Alternatively, park yourdoamin with cloudflare.com

I hope the following diagram explain


Avatar
Descartar
Mejor respuesta

Hi,

This particular feature is presently undergoing beta testing, and as a result, there isn't an automatic redirection from plain HTTP to HTTPS. It will be necessary for users to manually input HTTPS:// at the start of the URL.

To add a domain name, Go to the settings of project branch where we need to change the domain and add the domain that we need.


Regards

Avatar
Descartar
Autor

Thank you for your answer. What do you mean with "This particular feature is presently undergoing beta testing" ? Is it not a basic Nginx configuration issue ?

Publicaciones relacionadas Respuestas Vistas Actividad
1
feb 21
10067
1
abr 24
4157
0
ago 22
2652
0
jun 21
1221
2
jun 21
14196