跳至內容
選單
此問題已被標幟
903 瀏覽次數

Hello, I'm having some issues to getting the web builder to load properly on my self-hosted instance. It just stalls with the loading icon. I've looked this up here and tried other solutions. I'll link to all that later.


My Setup:

Ubuntu Server 24.04

Docker Version 27.3.1

Odoo Version 18

NGINX Proxy Manager


My Issue: 

Web editor fails to load.


Resources I've Used:

Website editor not work on HTTPS · Issue #104597 · odoo/odoo

How to configure nginx proxy manager for odoo 16? | Odoo

(had to remove links due to no karma)


What's I've Done:

Added options in odoo-server.conf

xmlrpcs_interfaces = 0.0.0.0
proxy_mode = True


Updated the NGINX Config with the following

Under advanced for root domain

proxy_read_timeout 720s;

proxy_connect_timeout 720s;

proxy_send_timeout 720s;

# Add Headers for odoo proxy mode

proxy_set_header X-Forwarded-Host $host;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header X-Forwarded-Proto $scheme;

proxy_set_header X-Real-IP $remote_addr;

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

proxy_redirect off;

# common gzip

gzip_types text/css text/less text/plain text/xml application/xml application/json application/javascript;

gzip on;

client_body_in_file_only clean;

client_body_buffer_size 32K;

client_max_body_size 500M;

sendfile on;

send_timeout 600s;

keepalive_timeout 300;


Added a custom location for /websocket (port 8072)

proxy_read_timeout 720s; 

proxy_connect_timeout 720s;

proxy_send_timeout 720s;

# Add Headers for odoo proxy mode

proxy_set_header X-Forwarded-Host $host;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header X-Forwarded-Proto $scheme;

proxy_set_header X-Real-IP $remote_addr;

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


Any ideas?


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
1月 25
3
1
2月 24
4084
0
11月 23
942
1
8月 23
22215
1
8月 23
2867