home » zplus/clif.git
Author zPlus <zplus@peers.community> 2023-03-21 07:05:55
Committer zPlus <zplus@peers.community> 2023-03-21 07:05:55
Commit 31cb0da (patch)
Tree 5506656
Parent(s)

Fix certbot documentation.


commits diff: 1343aaf..31cb0da
1 file changed, 5 insertions, 5 deletionsdownload


Diffstat
-rw-r--r-- documentation/administrators 10

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+5/-5 M   documentation/administrators
index 88e3036..7eae54e
old size: 6K - new size: 6K
@@ -38,7 +38,7 @@ at https://gitolite.com/gitolite/list-non-core.html
38 38
39 39 'ENABLE' => [
40 40 ... existing commands
41 -
41 +
42 42 # Allow to change HEAD reference (default branch) like this:
43 43 # ssh git@host symbolic-ref <repo> HEAD refs/heads/<name>
44 44 'symbolic-ref',
@@ -103,7 +103,7 @@ Lighttpd requires the certificate and private key to be in a single file:
103 103 Add to lighttpd configuration:
104 104
105 105 $ vim /etc/lighttpd/lighttpd.conf
106 -
106 +
107 107 server.modules += (
108 108 "mod_fastcgi",
109 109 "mod_proxy",
@@ -140,9 +140,9 @@ that will generate a new privkey+cert.pem file and reload lighttpd.
140 140
141 141 $ vim /etc/cron.weekly/clif-letsencrypt
142 142 $ chmod +x /etc/cron.weekly/clif-letsencrypt
143 -
143 +
144 144 # Content of "clif-letsencrypt"
145 - certbot renew
145 + certbot renew --webroot -w /var/www/html
146 146 cd /etc/letsencrypt/live/example.org
147 147 cat privkey.pem cert.pem > privkey+cert.pem
148 148 systemctl restart lighttpd
@@ -164,7 +164,7 @@ system user "git"
164 164 3. Create the file /home/git/.forward with the content:
165 165
166 166 |/home/git/clif/emails.py
167 -
167 +
168 168 This is a sendmail file (also used by postfix) for deciding how incoming messages
169 169 shall be delivered to the the system user. For our purposes, we instruct postfix
170 170 to pipe all the emails for user "git" to our script.