Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
20230 Lượt xem

Hi all.

I have the following configuration under sites-enabled and sites-available :

See config here: 


in the odoo config file the proxy is set to "true"

nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful


the file read just fine but the redirect to 80 doesn't work at all. Odoo is only reachable when the 8069 port is set.


What T H am i doing wrong here?


Thanks in advance




Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

If this is not resolved yet, you can get sample nginx config from here: https://github.com/odoomates/odoosamples/blob/main/odoo_nginx_conf

Also you can look at this video explaining the same: Configure Odoo With Nginx As a Reverse Proxy

Thanks

Ảnh đại diện
Huỷ bỏ