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

We created an module where we want to access some model data from website. It is called by using ID of document i.e. https://server/mymodule/1, but it translates it to http://server/mymodule/my-entry-1. Due to that we are getting "Blocked loading mixed active content" in browser. Where can I set that url will be always redirected to https instead of http?

odoo v9

OS: centos 7

apache reverse proxy

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Fixed it by adding "Header edit Location ^http://<hostname> https://<hostname>" directive. But i'm still curious, why response is not encrypted while it is requested from encrypted location.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
Controller not working แก้ไขแล้ว
2
ก.พ. 23
3076
How to get model object from Controller แก้ไขแล้ว
3
ก.ค. 20
12767
0
เม.ย. 20
4170
19
พ.ค. 24
96512
3
มิ.ย. 17
14758