Report this

What is the reason for this report?

How can i make my Droplate miroring be HTTPS?

Posted on August 23, 2020

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>


This textbox defaults to using Markdown to format your 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.