summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--content/auth.md2
-rw-r--r--content/cgit.md8
-rw-r--r--content/mail/inbox.md4
-rw-r--r--content/prosody.md14
-rw-r--r--content/tor.md2
-rw-r--r--content/wireguard.md2
7 files changed, 11 insertions, 23 deletions
diff --git a/README.md b/README.md
index 37acf86..b1bd959 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@ This site is compiled and organized with Hugo, using [this very simple theme](ht
## Submission guidelines
-- Guides should be made for the most recent stable version of Debian. (Now Debian 11.)
+- Guides should be made for the most recent stable version of Debian. (Now Debian 12.)
- Follow the general style of pre-existing articles.
- use the root user (i.e. no `sudo`) unless there is a specific need.
- do not preface commands with `$` or `#` or anything.
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/prosody.md b/content/prosody.md
index 94fb548..df18ad3 100644
--- a/content/prosody.md
+++ b/content/prosody.md
@@ -87,13 +87,7 @@ With this we can bring XMPP to the level of other popular instant messaging appl
It is extremely easy to setup.
This part is optional, but it can make XMPP more normie-friendly if you plan on moving family members and friends over to XMPP.
-First we need to install extra prosody modules. Run the following command:
-
-```sh
-apt install prosody-modules
-```
-
-Then we can add the following line to you prosody config file to enable file uploads:
+Add the following line to your prosody config file to enable file uploads:
```cfg
Component "{{<hl>}}uploads.example.org{{</hl>}}" "http_file_share"
@@ -107,7 +101,7 @@ This helps with file transfers for devices behind a NAT, and unless you are usin
Enable the proxy by adding the following line to the config:
```cfg
-Component " {{<hl>}}proxy.example.org{{</hl>}}" "proxy65"
+Component "{{<hl>}}proxy.example.org{{</hl>}}" "proxy65"
```
As you can see, another subdomain is needed. We will add ssl certificates for this later.
@@ -117,7 +111,7 @@ At this point, file sharing is now setup and ready to be used. Although there ar
A big concern with file sharing is large files, seeing as all files shared over XMPP will be stored on your server. This can become a problem when many (and large) files are being shared. We can put a cap on large files by adding the following line to our config:
```cfg
-http_file_share_file_size_limit = 20971520
+http_file_share_size_limit = 20971520
```
This puts a 20MB cap on all files being shared. The value is specified in bytes. You can also specify after how long files should be deleted by adding the following line:
@@ -134,7 +128,7 @@ Prosody includes the `internal` and `sql` storage backends by default.
If you wish to run Prosody with PostgreSQL, begin by installing the PostgreSQL:
```sh
-apt install postgresql
+apt install postgresql lua-dbi-postgresql
```
Then start the daemon:
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)