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

Hello, i'm facing a strange bug. I installed the website module and the site is available but if I try to edit it the page is loading without succes I got a blank page. 

No error in my logfile

It works locally on my computer but not on my server

More information :

  • same python version
  • same major postgresql server
  • pip freeze are equals

The only difference is the OS, my local is on ubuntu 22.04 and the server is on ubunut 20.04

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

@Giovanni 
In the nginx conf file, you may add the line

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

to your location block.

อวตาร
ละทิ้ง

Perfect - thank you!

ผู้เขียน คำตอบที่ดีที่สุด

I found the solution.

That was a missconfiguration et my proxy.

Just had to add the "upgrade-insecure-requests" in my config.

The error was display in Js console but didn't notice it

อวตาร
ละทิ้ง

Hello, can you explain exactly how to solve?
I have to add this to odoo.conf or to nginx.conf?