odoo用nginx做了反向代理后
导入数据的时候,报js错误
Uncaught TypeError:Cannot read property '1' of undefined
在nginx的反向代理的location块里添加
proxy_connect_timeout = 600s;
proxy_read_timeout = 600s;
proxy_send_timeout = 600s;
把超时设置长一点。
本文解决Odoo使用Nginx反向代理时遇到的JS错误问题,通过调整Nginx配置文件中的超时参数来解决数据导入时出现的TypeError。
odoo用nginx做了反向代理后
导入数据的时候,报js错误
Uncaught TypeError:Cannot read property '1' of undefined
在nginx的反向代理的location块里添加
proxy_connect_timeout = 600s;
proxy_read_timeout = 600s;
proxy_send_timeout = 600s;
把超时设置长一点。

被折叠的 条评论
为什么被折叠?