跳至内容
菜单
此问题已终结
1 回复
16913 查看

I see there is a server option --proxy-mode that is intended to "Enable correct behavior when behind a reverse proxy". We have been running OpenERP behind a proxy without this option, and it sees to work fine. What would you expect a user would see failing when this option is not used?

I tracked it into server/openerp/service/wsgi_server.py Line 421

And werkzeug.pocoo.org/docs/contrib/fixers/?highlight=proxyfix#werkzeug.contrib.fixers.ProxyFix

形象
丢弃

I would like to know as well. My OpenErp instance is behind an nginx reverse proxy with SSL and I have this this flag turned on. For the longest time is was off and it seems to work fine.

编写者 最佳答案

We were having problems because the new user invitation email contained a link with the internal port number in it. When the new user received the invitation email, he/she needed to edit the signup link, and strip the port number out of it. The --proxy-mode startup option fixed that.

形象
丢弃
相关帖文 回复 查看 活动
0
10月 24
1362
0
6月 21
2107
0
2月 18
3502
3
3月 15
8531
1
3月 15
5990