Secure Site with HTTPS
Use Let’s Encrypt to secure your site with SSL.
Install Certbot:
1sudo apt install certbot python3-certbot-nginx
Obtain an SSL Certificate:
1sudo certbot --nginx -d your_domain -d www.your_domain
Test Renewal:
1sudo certbot renew --dry-run