docs: Forgejo rootless on git.hacktivism.ch (no free signup)

This commit is contained in:
Hernâni Marques 2026-07-10 14:36:10 +02:00
parent 19c9fed12a
commit dc2262b056
No known key found for this signature in database
6 changed files with 168 additions and 2 deletions

View file

@ -0,0 +1,15 @@
# 9024 forgejo HTTP (SSH :2222 host-direct, not via Caddy)
# Apply on host: merge into /etc/caddy/Caddyfile, validate, reload
git.hacktivism.ch {
header Alt-Svc "clear"
reverse_proxy 127.0.0.1:9024 {
header_up Host {host}
header_up X-Forwarded-For {remote_host}
header_up X-Forwarded-Proto {scheme}
flush_interval -1
transport http {
read_timeout 3600s
write_timeout 3600s
}
}
}