콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

We are using Odoo 14.0 on Ubuntu 20.04 with nginx as http proxy

According to documentation you can use dbfilter on odoo.conf file to select the database depending on the url.
If you use ^%h$ it will match your domain without subdomain to your database (you have to name your database example.com),
if you use ^%d$ it will match your subdomain to your database (if your subdomain is db1.example.com.mx you have to name your database db1)


This is my question:
Is there a way to match both my domains and my subdomains to my databases?

This way when users enters db1.example.com they will access the db1 database and when enters example.com they will access database example.com

 

I am basing on this documentation
https://www.odoo.com/documentation/14.0/setup/deploy.html

아바타
취소
베스트 답변

Hello Backbone,

Domain and Sub-domain both are matched with a domain name then you will use dbfilter = %h


%h  will match the exact domain name database will filter

Thanks...

For more information Contact us :-  https://kanakinfosystems.com/odoo-development-services

아바타
취소
관련 게시물 답글 화면 활동
0
2월 25
18
0
3월 18
2850
2
5월 17
8861
2
3월 15
6865
1
3월 15
3727