Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
Update letsencrypt.md
Browse files Browse the repository at this point in the history
changed YOUR_DOMAIN to DOMAIN_NAME under Nginx instructions to match the variables defined in /general/networking/index
  • Loading branch information
ImaginaryResources committed Apr 7, 2020
1 parent 6170bd7 commit 566bbfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion general/networking/letsencrypt.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Add a job to cron so the certificate will be renewed automatically.
After installing Certbot and the Nginx plugin with `sudo apt install certbot python3-certbot-nginx`, generate the certificate.

```sh
sudo certbot --nginx --agree-tos --redirect --hsts --staple-ocsp --email YOUR_EMAIL -d YOUR_DOMAIN
sudo certbot --nginx --agree-tos --redirect --hsts --staple-ocsp --email YOUR_EMAIL -d DOMAIN_NAME
```

Add the `--rsa-key-size 4096` parameter if you want a 4096 bit key instead.
Expand Down

0 comments on commit 566bbfa

Please sign in to comment.