Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1362 Представления

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?


Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
янв. 25
3
1
февр. 24
5400
0
нояб. 23
1214
1
июн. 25
23508
1
авг. 23
3217