From 31cb0da8204eb26ede936e32f0c91aca0ac1af57 Mon Sep 17 00:00:00 2001 From: zPlus Date: Tue, 21 Mar 2023 08:05:55 +0100 Subject: [PATCH] Fix certbot documentation. --- documentation/administrators | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/documentation/administrators b/documentation/administrators index 88e3036..7eae54e 100644 --- a/documentation/administrators +++ b/documentation/administrators @@ -38,7 +38,7 @@ at https://gitolite.com/gitolite/list-non-core.html 'ENABLE' => [ ... existing commands - + # Allow to change HEAD reference (default branch) like this: # ssh git@host symbolic-ref HEAD refs/heads/ 'symbolic-ref', @@ -103,7 +103,7 @@ Lighttpd requires the certificate and private key to be in a single file: Add to lighttpd configuration: $ vim /etc/lighttpd/lighttpd.conf - + server.modules += ( "mod_fastcgi", "mod_proxy", @@ -140,9 +140,9 @@ that will generate a new privkey+cert.pem file and reload lighttpd. $ vim /etc/cron.weekly/clif-letsencrypt $ chmod +x /etc/cron.weekly/clif-letsencrypt - + # Content of "clif-letsencrypt" - certbot renew + certbot renew --webroot -w /var/www/html cd /etc/letsencrypt/live/example.org cat privkey.pem cert.pem > privkey+cert.pem systemctl restart lighttpd @@ -164,7 +164,7 @@ system user "git" 3. Create the file /home/git/.forward with the content: |/home/git/clif/emails.py - + This is a sendmail file (also used by postfix) for deciding how incoming messages shall be delivered to the the system user. For our purposes, we instruct postfix to pipe all the emails for user "git" to our script.