Force SSL

Hi,

I want to know if it is possible to use https with force SLL on Openemr on web hosting.

Please advise.

Thanks

Hi @jhunyan,

This is certainly possible. It would require editing the vhost file on the Apache server. You’d setup two vhost sites; one for the SSL site and one for the regular one. For the regular one, you’ll want to do a redirect to the SSL host.

Let me know if you need an example and I’ll try to put one together

https://www.namecheap.com/support/knowledgebase/article.aspx/9821/38/redirect-to-https-on-apache

This looks adequate. Might see about adding it as a switch to the official Docker.