{SOLVED} How to add domain to openerp and secure it with ssl

I have added domain to bahmni. but the openerp is not working well i have to access it with ip:8069

How to add a domain or subdomain to oopen erp and add a ssl.

1 Like

Hi Mayank, You can add the following configuration in ssl.conf file. In the next bahmni release, you will get it automatically as part of the build. The ansible template is here

            RewriteCond %{HTTP_HOST} ^openerp\.(.*)
    RewriteRule (.*) http://172.18.2.46:8069$1 [P]
1 Like

Thanks, I tested and it works…

:grinning:

where is “ssl.conf” file located?

@tumga

/etc/httpd/conf.d/ssl.conf