Question

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 "/" http://domain.com//
ProxyPassReverse "/" http://domain.com//
ProxyPass "/img" http://domain.com//img/ retry=1 acquire=3000 timeout=3000
ProxyPassReverse  "/img" http://domain.com//img/

RewriteEngine on
RewriteRule ^/img/(.*)/(images|javascripts|stylesheets)(.*) http://domain.com//

</VirtualHost>
Subscribe
Share

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:

https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04

Regards, Bobby