You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
2.2 KiB

  1. .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
  2. :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
  3. :alt: License: AGPL-3
  4. ====================
  5. dbfilter_from_header
  6. ====================
  7. This addon lets you pass a dbfilter as a HTTP header.
  8. This is interesting for setups where database names can't be mapped to proxied host names.
  9. Installation
  10. ============
  11. To install this module, you only need to add it to your addons, and load it as
  12. a server-wide module.
  13. This can be done with the ``load`` parameter in ``/etc/odoo.conf`` or with the
  14. ``--load`` command-line parameter
  15. ``load = "web, dbfilter_from_header"``
  16. Configuration
  17. =============
  18. Please keep in mind that the standard odoo dbfilter configuration is still
  19. applied before looking at the regular expression in the header.
  20. * For nginx, use:
  21. ``proxy_set_header X-Odoo-dbfilter [your filter regex];``
  22. * For caddy, use:
  23. ``proxy_header X-Odoo-dbfilter [your filter regex]``
  24. * For Apache, use:
  25. ``RequestHeader set X-Odoo-dbfilter [your filter regex]``
  26. Bug Tracker
  27. ===========
  28. Bugs are tracked on `GitHub Issues
  29. <https://github.com/OCA/server-tools/issues>`_. In case of trouble, please
  30. check there if your issue has already been reported. If you spotted it first,
  31. help us smashing it by providing a detailed and welcomed feedback.
  32. Credits
  33. =======
  34. Contributors
  35. ------------
  36. * Stéphane Bidoul <stephane.bidoul@acsone.eu>
  37. * Yannick Vaucher <yannick.vaucher@camptocamp.com>
  38. * Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
  39. * Holger Brunn <hbrunn@therp.nl>
  40. * Laurent Mignon (aka lmi) <laurent.mignon@acsone.eu>
  41. * Sandy Carter <sandy.carter@savoirfairelinux.com>
  42. * Fabio Vilchez <fabio.vilchez@clearcorp.co.cr>
  43. * Jos De Graeve <Jos.DeGraeve@apertoso.be>
  44. * Lai Tim Siu (Quaritle Limited) <info@quartile.co>
  45. Maintainer
  46. ----------
  47. .. image:: https://odoo-community.org/logo.png
  48. :alt: Odoo Community Association
  49. :target: https://odoo-community.org
  50. This module is maintained by the OCA.
  51. OCA, or the Odoo Community Association, is a nonprofit organization whose
  52. mission is to support the collaborative development of Odoo features and
  53. promote its widespread use.
  54. To contribute to this module, please visit https://odoo-community.org.