diff options
Diffstat (limited to 'content')
| -rw-r--r-- | content/auth.md | 2 | ||||
| -rw-r--r-- | content/cgit.md | 8 | ||||
| -rw-r--r-- | content/mail/inbox.md | 4 | ||||
| -rw-r--r-- | content/tor.md | 2 | ||||
| -rw-r--r-- | content/wireguard.md | 2 |
5 files changed, 6 insertions, 12 deletions
diff --git a/content/auth.md b/content/auth.md index 88a5fee..b38cb88 100644 --- a/content/auth.md +++ b/content/auth.md @@ -132,5 +132,3 @@ http { Now check your configuration with `nginx -t` Reload nginx and you\'re good to go! - -**Contributor** - [tomfasano.net](https://tomfasano.net) diff --git a/content/cgit.md b/content/cgit.md index ce6214c..13d4b2b 100644 --- a/content/cgit.md +++ b/content/cgit.md @@ -53,8 +53,8 @@ server { fastcgi_param SCRIPT_FILENAME /usr/lib/git-core/git-http-backend; fastcgi_param PATH_INFO $uri; fastcgi_param GIT_HTTP_EXPORT_ALL 1; - fastcgi_param GIT_PROJECT_ROOT /srv/git; - fastcgi_param HOME /srv/git; + fastcgi_param GIT_PROJECT_ROOT /var/git; + fastcgi_param HOME /var/git; fastcgi_pass unix:/run/fcgiwrap.socket; } @@ -90,11 +90,11 @@ root-title={{<hl>}}Chad's git server{{</hl>}} root-desc={{<hl>}}A web interface to LandChad's git repositories, powered by Cgit{{</hl>}} # The location where git repos are stored on the server -scan-path=/srv/git/ +scan-path=/var/git/ ``` This configuration assumes you followed the [git hosting guide](/git) -and store your repositories on the `/srv/git/` directory. +and store your repositories on the `/var/git/` directory. Cgit\'s configuration allows changing many settings, as documented on the cgitrc(5) manpage installed with Cgit. diff --git a/content/mail/inbox.md b/content/mail/inbox.md index a975bd0..3f70b9c 100644 --- a/content/mail/inbox.md +++ b/content/mail/inbox.md @@ -114,10 +114,10 @@ service auth { } protocol lda { - mail_plugins = \$mail_plugins sieve + mail_plugins = $mail_plugins sieve } protocol lmtp { - mail_plugins = \$mail_plugins sieve + mail_plugins = $mail_plugins sieve } plugin { sieve = ~/.dovecot.sieve diff --git a/content/tor.md b/content/tor.md index a0acdf8..1d0aaf1 100644 --- a/content/tor.md +++ b/content/tor.md @@ -115,5 +115,3 @@ Make sure to update Tor on a regular basis by running: You do **<u>not</u>** need to run certbot for an ssl certificate. HTTP over tor is plenty secure! - -**Contributor** - [tomfasano.net](https://tomfasano.net) diff --git a/content/wireguard.md b/content/wireguard.md index 3e7d571..c0d1879 100644 --- a/content/wireguard.md +++ b/content/wireguard.md @@ -171,5 +171,3 @@ Start WireGuard again: sudo wg-quick up myvpn To disconnect, type `down` instead of `up`. And just like that, you now host a WireGuard VPN server! - -**Contributor** - [tomfasano.net](https://tomfasano.net) |
