dbfilter_from_header
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.
Table of contents
Installation
To install this module, you only need to add it to your addons, and load it as a server-wide module.
This can be done with the server_wide_modules parameter in /etc/tulio.conf or with the --load command-line parameter
server_wide_modules = "web, dbfilter_from_header"
Configuration
Please keep in mind that the standard tulio dbfilter configuration is still applied before looking at the regular expression in the 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 Tulio’s configuration file:
proxy_mode = True
Your filter regex can contain dynamically injected hostname (%h) or the first subdomain (%d) through which the system is being accessed
Usage
To use this module, you need to complete installation and configuration parts.
| Technical name | dbfilter_from_header |
|---|---|
| Module version | 12.0.1.0.2 |
| Tulio versions | 1.0 |
| Category | Tools |
| Publisher | Contaura LLC
Ported to Tulio, tested and supported by Contaura LLC. |
| Original authors | Therp BV, OCA |
| License | AGPL-3
Open source: you may use, change and share
this module under its license. The price covers the Tulio port, its testing on Tulio
1.0 and the download. |
| Requires (Tulio core) | web |
| Lines of code | 49 |
| Downloads | 0 |
| Released | 12/06/2026 |