Comment 1 for bug 1170133

Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

Werkzeug provides a ProxyFix WSGI middleware which takes care of transparently providing "normal" header from the X-Forwarded ones: http://werkzeug.pocoo.org/docs/contrib/fixers/#werkzeug.contrib.fixers.ProxyFix

This middleware is automatically applied by the server's WSGI mount when proxy_mode is enabled: http://bazaar.launchpad.net/~openerp/openobject-server/trunk/view/head:/openerp/service/wsgi_server.py#L420

The web client *very specifically must not take care of that*. Run your server correctly.

The old "stand-alone mode" had the same option and capability: http://bazaar.launchpad.net/~openerp/openerp-web/6.1/view/head:/openerp-web#L91