Configuration
Setup HTTPS
To enable SSL, you can use a reverse proxy. In this case, we will use Nginx as the reverse proxy.
Install Nginx
Create Certificate
To proceed with this documentation, it is assumed that you already have a certificate for your domain.
You have the option to use Cloudflare or generate a certificate using Let’s Encrypt or Certbot.
Add the certificate to the following paths: /etc/key.pem
and /etc/cert.pem
Setup Nginx
Restart Nginx
Test
Visit your domain and you should see your application running with SSL.