I have increased odoo from threaded mode to workers = 9 to improve stability issues when there is lot of users. Now it is working perfectly but odoo chat is not being redirected on apache.
i found redirect in /etc/httpd/conf.d/ssl.conf to 8069 but missing 8072 which is longpolling port for odoo chat.
How do i implement this without messing up default bahmni ssl setup by the installer ?
you can create another conf file specifically for odoo
you will notice that there is a rewrite rule in ssl.conf to a particular port. you would need to define another routing similarly
it seems the whole directory is passed to localhost:8069
I now need to [P] pass erp.hospital.domain/longpolling to localhost:8072 which i have no idea how.
Can anyone help solve this issue ? can we replace this whole block with proxy rule instead of mod_rewrite? I have no experience in rewriteCond or rules and since [P] is essentialy porxyPass
I am not sure how to solve your exact problem. Maybe this Proxy rules file can guide you to the right path? It is the docker proxy file by @Mekom that directs Bahmni calls to the right sub-system.