Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5 ตอบกลับ
9660 มุมมอง

Hi,

I use Apache as reverse proxy, I'd installed Website on Odoo 16 and when I try to go to Editor it doesn't resolve the page.

At developer tools of my browser appears this error:

Mixed Content: The page at 'https://rcr.ar/web#action=178&cids=1&menu_id=116' was loaded over HTTPS, but requested an insecure frame 'http://rcr.ar/'. This request has been blocked; the content must be served over HTTPS.

Let me know if you need more information.

Best regards and thanks,

Emilio

อวตาร
ละทิ้ง

Misleading! The error may not be related to the proxy.
Analyse the console log (F12): If the browser blocks the request, the proxy has no chance to react and this is a bug of the website editor.
Even the "latest" Odoo 16 Community build has this error.

ผู้เขียน

Thanks Gregor for your comments. Is there a workaround to solve this issue meanwhile the bug in Odoo Website is fixed?

คำตอบที่ดีที่สุด

Just add this line on your nginx config file, on server block. It hangs because a request is send over http instead of https.

add_header 'Content-Security-Policy' 'upgrade-insecure-requests'; 

I tried with Odoo 16 CE, on ubuntu 22.04, and it works fine


อวตาร
ละทิ้ง
ผู้เขียน

Thanks Ronivon! I use Apache instead of nginx, ¿do you know the command in this case?
Best Regards,
Emilio

คำตอบที่ดีที่สุด

Muchas gracias, funciono con Odoo 18

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi

tanks a lot. it works for me too!

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด
Ronivon Dos Santos,

it works great! Thank You!

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi..
Ronivon Dos Santos,
You are my hero, your solution is working for my problem

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Carrusel en sitios web แก้ไขแล้ว
2
ก.ค. 25
840
How to launch my website แก้ไขแล้ว
4
มิ.ย. 25
969
1
มิ.ย. 25
1277
1
พ.ค. 25
1241
2
เม.ย. 25
1347