Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
4592 Widoki

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


Awatar
Odrzuć
Najlepsza odpowiedź

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.

Awatar
Odrzuć
Najlepsza odpowiedź

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


Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
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 ?

Powiązane posty Odpowiedzi Widoki Czynność
1
lut 21
10799
1
kwi 24
5055
0
sie 22
3197
0
cze 21
1221
2
cze 21
15090