Skip to Content
Menu
This question has been flagged
1 Reply
1914 Views

Hi, 

Can we use dbfilter based on a domain?


For example, 

I have the following databases: 

1. odoo_test

2. odoo_erp

3. odoo_prod


And I have the following domain,

erp.abc.com for   odoo_erp db

erp.prod.com for  odoo_prod  db

\erp.test.com or test.erp.com for  odoo_test  db


I've one server with multiple domains and one odoo service.

Thanks


Regards,

Hemangi.  

Avatar
Discard
Best Answer

With this nomenclatura you can not define a regex expression which allows to assign domain names to database names automatically. You should use the OCA module dbfilter_from_header in order to explicitely assign a database to a domain name in your virtual host definition of your reverse proxy server.

Avatar
Discard
Related Posts Replies Views Activity
0
Mar 23
1545
1
Nov 24
164
0
Jun 21
1312
0
Mar 18
2143
1
Oct 15
6244