From 8a4896b97106ff248bc33530da7b87f123dc1823 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Sun, 1 Dec 2024 14:30:44 +0100 Subject: [PATCH] nginx notes --- networking/website/nginx.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/networking/website/nginx.md b/networking/website/nginx.md index 67d0257..680f500 100644 --- a/networking/website/nginx.md +++ b/networking/website/nginx.md @@ -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").