How can i make my Droplate miroring be HTTPS?

Posted August 23, 2020 295 views

can any one teach or help me how can i make my Droplets be HTTPS?
im using putty
and this script i using.

<VirtualHost *:80>
ServerName localhost
DocumentRoot    /var/www/html/
DirectoryIndex  index.php

ProxyPass "/"
ProxyPassReverse "/"
ProxyPass "/img" retry=1 acquire=3000 timeout=3000
ProxyPassReverse  "/img"

RewriteEngine on
RewriteRule ^/img/(.*)/(images|javascripts|stylesheets)(.*)

edited by MattIPv4

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there @danzoff1990,

You can use Let’s Encrypt for example to obtain a free SSL certificate. To do so you can follow this step by step guide here:


by Kathleen Juell
by Erika Heidi
Let's Encrypt is a Certificate Authority (CA) that provides an easy way to obtain and install free TLS/SSL certificates, thereby enabling encrypted HTTPS on web servers. In this tutorial, you will use Certbot to obtain a free SSL certificate for Apache on Ubuntu 18.04 and set up your certificate to renew automatically.