added fail2ban instructions

This commit is contained in:
Altair-sh
2026-11-04 17:44:49 +01:00
parent 7987c9e580
commit 7a43e7f8c9
2 changed files with 73 additions and 15 deletions
+1 -15
View File
@@ -1,5 +1,5 @@
# serveg
Small HTTP/1.1 file server. Meant to run behind a reverse proxy that handles TLS (see [Caddy](#caddy)).
Small HTTP/1.1 file server. Meant to run behind a reverse proxy that handles TLS (see [CADDY.md](./CADDY.md)).
## Features:
- upload and download files
@@ -25,17 +25,3 @@ bin/servegp # reads ./serveg.toml
bin/servegp -config /etc/serveg/serveg.toml
```
## Caddy
```
files.example.com {
request_body {
max_size 4GB
}
reverse_proxy 127.0.0.1:8080 {
transport http {
versions 1.1
}
}
}
```