Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
4454 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
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 ?

Related Posts Odpovědi Zobrazení Aktivita
1
úno 21
10708
1
dub 24
4822
0
srp 22
3097
0
čvn 21
1221
2
čvn 21
14924