How to redirect HTTP TO HTTPS on Mac OS X

August 29, 2017 211 views
Apache Let's Encrypt

We had Jenkins installed on mac os x, and it is unsecured. Using let’s encrypt, we secured the Jenkins. Here Apache is acting as reverse proxy and both the sites are available. But now we need to redirect the old http URL (http://example.com:8081). When we hit HTTP from outside, the browsers should be redirected to the HTTPS(https://example.com).
In which config file I need to change, I can post the images once if anyone responded regarding these issue, Please help me to figure out .
Thanks!

Be the first one to answer this question.