🌳 Hank Learning

Search

Search IconIcon to open search

Let's encrypt + Nginx

Card ID: 2023-0102-2126, Last updated 2023-01-02

https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04

Nginx

1
server_name example.com www.example.com;

let’s encrypt

1
sudo certbot --nginx -d example.com -d www.example.com