This addon lets you pass a dbfilter as a HTTP header. This is interesting for setups where database names can’t be mapped to proxied host names.
This addon lets you pass a dbfilter as a HTTP header.
This module allows passing a database filter as an HTTP header. This feature is particularly useful in setups where database names cannot be directly mapped to proxied host names.
It provides compatibility with various proxy servers such as nginx, caddy, and Apache. Configuration snippets are provided for each proxy server to ensure seamless integration.
Database filtered according to HTTP header.
For nginx, use:
proxy_set_header X-Odoo-dbfilter [your filter regex];
For caddy, use:
proxy_header X-Odoo-dbfilter [your filter regex]
For Apache, use:
RequestHeader set X-Odoo-dbfilter [your filter regex]
And make sure that proxy mode is enabled in Odoo’s configuration file:
proxy_mode = True