🛡️ SSL
How to setup a free SSL certificate
Note: This section assumes you have a domain name registered for your webapp and
Install CloudFlare SSL
First, obtain a free Origin Certificate from CloudFlare. You will need to transfer your DNS records to Cloudflare by following this guide.
nano /etc/ssl/cert.pem
nano /etc/ssl/key.pem
Alternative: Let’s Encrypt
If you do not want to use CloudFlare, an alternative is to use Certbot, for example:
apt-get update
apt-get install certbot
certbot certonly --standalone -d example.com -d www.example.com