跳至內容
選單
此問題已被標幟
2 回覆
8533 瀏覽次數

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?