How to setup free SSL (HTTPS) on Ubuntu Server using Nginx
Mihadul Islam
Oct 13, 2025
4 min read
DevOps
Summary
To set up free SSL on Ubuntu with Nginx, install Nginx and Certbot, then run sudo certbot --nginx -d yourdomain.com to automatically get and configure a Let’s Encrypt certificate. Choose the redirect option to force HTTPS. Certbot will handle automatic renewals, keeping your site secure for free.
Tags
nginxhttpssslubuntu server