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

In Odoo 16

Here the website has dummy url
Need help to solve this
Mixed Content: The page at 'https://abc.com/web#action=450&cids=1&menu_id=293' was loaded over HTTPS, but requested an insecure frame 'http://abc.com/'. This request has been blocked; the content must be served over HTTPS.

Due to this my website page is not loaded.
Gives me blank page means block the content of site.

الصورة الرمزية
إهمال

In your nginx conf file add this line inside "location /"

proxy_set_header X-Forwarded-Host $host;

أفضل إجابة

Thak you Dayli Suarez, add proxy_mode = True to odoo.conf file helps me. Thx.

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

Issue is resolved within short time apology to late disclose,
but the problem is SSL configration issue.
Thank you ...

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

Hi,

Please add the below line inside your nginx file . you need to add this inside the location
proxy_set_header X-Forwarded-Proto https;

example
location /longpolling {
                proxy_connect_timeout   3600;
                proxy_read_timeout      3600;
                proxy_send_timeout      3600;
                send_timeout            3600;
                proxy_set_header X-Forwarded-Proto https;
                proxy_pass http://127.0.0.1:8072;
        }

After adding it , save the file and restart nginx service


Hope it helps

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

In Odoo.conf file, set proxy_mode = True

That's solved my problem.

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

Thank you Dayli but it might not a proxy issue and also try it.

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أغسطس 23
2669
1
مايو 25
1894
0
أبريل 25
947
1
يونيو 24
4002
1
مايو 24
3494