nginx - program cheatsheet
because no ssl means no service.ref
* will take several minutes
test nginx configuration
create a symbolic link from an available site into an enabled site
obtain a certificate
let certbot obtain a certificate for us and apply the default nginx SSL configuration like follows: -->
or using webroot
when using lets encrypt, be sure to read the output.
IMPORTANT NOTES: - Your account credentials have been saved in your Certbot configuration directory at /etc/letsencrypt. You should make a secure backup of this folder now. This configuration directory will also contain certificates and private keys obtained by Certbot so making regular backups of this folder is ideal.