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

My site is set up to default to https

When I upload slides either in the front end or the back end or if I am getting a document from google drive, the resource (pdf) is loaded via http.


So, I get a COR error and the site does not load correctly.


How do I set the slides module to load resources from https instead of http.

I have already set the web.url in system parameters to https

I have also set web.base.url.freeze in system parameters but it still loads resources from http instead of https



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

Hello Amy

Can you help me. I want to know what files you edited.

thanks 

 

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

I found the fix and it works!


https://github.com/odoo/odoo/pull/10363

https://github.com/odoo/odoo/pull/10363/commits/ee9805f783a683bf5af92fc377bd3b1a2ace05db

It's due to odoo being behind a http proxy.

You have to edit a file and it works great. If you need help let me know.

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

Setting

"X-Forwarded-Proto" "https"

did help me in my case, see https://www.odoo.com/forum/help-1/question/website-slides-uploading-a-presentation-keeps-loading-forever-93332

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

Thank you. I saw this was already set. Maybe if I restart the server. I'll test it.

Related Posts ตอบกลับ มุมมอง กิจกรรม
Slides and PDF แก้ไขแล้ว
3
มี.ค. 24
13302
0
ก.ค. 20
2714
PDF not appearing on item page in Slides แก้ไขแล้ว
28
มี.ค. 20
13558
3
มี.ค. 18
3743
0
พ.ค. 16
4805