nginx notes

This commit is contained in:
Malin Freeborn 2024-12-01 14:30:44 +01:00
parent b2ea104e96
commit 8a4896b971
Signed by: andonome
GPG Key ID: 52295D2377F4D70F

View File

@ -93,7 +93,9 @@ apt install python3-certbot-nginx
```
```bash
certbot --nginx -d *mysite.tk* --non-interactive --agree-tos -m *webmaster@email.tld*
domain=example.com
my_email=me@posteo.uk
certbot --nginx -d "$domain" --non-interactive --agree-tos -m "$my_email"
```
When you are asked about redirecting from HTTP to HTTPS, say yes (option "2").