I tried to put the OpenERP Server behind a proxy and change the URL for the Web Client to run under a subdirectory?
How to achieve that it is possible to request the proxy (i.e. https://www.proxy-domain.com/oerp/
) and make it completely work?
Is there anywhere an easy config or central place to change the basepath of the webapplication?
I do not actually want to proxy all the root URLs like /web/...
, /module_name/static/
, etc. (which is called by dynamic components) to the related root path in the backend.
I actually do know the --proxy-mode
flag but the problem are the wrong javascript requests as decribed in the sentence before which do not prefix with /oerp/ (i.e.: /oerp/web/static/...)
.
Any ideas, comments and experiences about this issue would be appreciated?