Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
You have two options:
The first option is to handle everything with Nginx and do the forwarding / domain point there.
The second option is to use the built-in Odoo parameter '--db-filter'. With this filter you can 'link' databases to domains.
A quote from the official documentation:
--db-filter <filter> hides databases that do not match <filter>. The filter is a regular expression, with the additions that: %h is replaced by the whole hostname the request is made on. %d is replaced by the subdomain the request is made on, with the exception of www (so domain odoo.com and www.odoo.com both match the database odoo)
You can find the official docs here: https://www.odoo.com/documentation/8.0/reference/cmdline.html and there is a nice tutorial here: https://www.inlinetechnology.com/blog/howto-3/post/odoo-mapping-url-to-database-10
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 5/11/16, 5:24 AM|
|Seen: 573 times|
|Last updated: 5/11/16, 6:06 AM|