تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
4458 أدوات العرض

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


الصورة الرمزية
إهمال
أفضل إجابة

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.

الصورة الرمزية
إهمال
أفضل إجابة

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


الصورة الرمزية
إهمال
أفضل إجابة

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

الصورة الرمزية
إهمال
الكاتب

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 ?

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
فبراير 21
10708
1
أبريل 24
4825
0
أغسطس 22
3100
0
يونيو 21
1221
2
يونيو 21
14927