Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
8535 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

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

to your location block.

Imagine profil
Abandonează

Perfect - thank you!

Autor Cel mai bun răspuns

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

Imagine profil
Abandonează

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