Issue a cert and configure nginx with HTTPS redirect
Runs the nginx plugin, which obtains a certificate for example.com, installs it into the site's TLS config, and --redirect adds a rule sending HTTP traffic to HTTPS. Requires the python3-certbot-nginx package and a working nginx vhost (virtual host). Certificates renew automatically via a timer.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.