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

Hi all

I've setup latest Odoo on Debian 11 but the homepage keeps redirecting to http://odoo which is invalid. How do I get Nginx to use the FQDN in "server_name" in the config file?

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks, I think I missed the step of setting "proxy_mode = True" in odoo.conf

Câu trả lời hay nhất

Hi,

There is something wrong in your nginx file, do one thing, replace your nginx file with the nginx file in this link: https://github.com/odoomates/odoosamples/blob/main/odoo_nginx_conf

Video: https://www.youtube.com/watch?v=-hVYQd7A7PQ

Thanks

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