Skip to Content
Menu
This question has been flagged
2 Replies
8505 Views

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

Avatar
Discard
Best Answer

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

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

to your location block.

Avatar
Discard

Perfect - thank you!

Author Best Answer

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

Avatar
Discard

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