Blog

There are many articles and stories written from experiences and conveyed from various articles.

แก้ไข Odoo Website Apps  โหลดหน้า Web Builder ไม่ได้ ด้วย Cloudflare Rules

แก้ไข Odoo Website Apps โหลดหน้า Web Builder ไม่ได้ ด้วย Cloudflare Rules

สำหรับ Odoo Server ที่ใช้ Cloudflare Tunnel แล้วพบปัญหา ไม่สามารถโหลดหน้า Web Builder ตอนเข้าใช้งาน Website APPS เนื่องจากตัว Browser แจ้งเตือน Blocked loading mixed active content ระหว่าง URL http กับ https 

เนื่องจากการใช้ Cloudflare Tunnel ที่ทำงานเร็วกว่า 30% นั้นไม่ได้ผ่าน reverse proxy กับใช้ SSL บนตัว Server เอง จึงต้องทำการ Create Transform Rules บน Cloudflare เพื่อ Modify Response Header โดยการเพิ่ม Content-Security-Policy: upgrade-insecure-requests เข้าไป เพียงเท่านี้ Odoo ก็จะสามารถ Load Web Builder เวลาเราเข้าทำการแก้ไข Website APPS ได้ โดยที่ไม่ต้องทำการ Disable protection ที่ตัว Browser เอง

Create Transform Rules
Modify Response Header

14/3051 M14 Bangbuathong, Bangbuathong, Nonthaburi,Thailand 11110

Phone: +669 4004 5061
Line ID: elec2rak

Upcoming articles

  • เปิด Time-line การไล่ล่าตัวคนร้าย ก่อเหตุยิงพนักงานร้าน Cococraft สาขาพิมลราช
  • Articles View Hits 38539
  • Web Links 10

We have 184 guests and no members online