تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
16896 أدوات العرض

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
أكتوبر 24
1330
0
يونيو 21
2070
0
فبراير 18
3484
3
مارس 15
8518
1
مارس 15
5976