How can i make my Droplate miroring be HTTPS?

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)(.*)


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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:

Regards, Bobby