docs: Forgejo rootless on git.hacktivism.ch (no free signup)
This commit is contained in:
parent
19c9fed12a
commit
dc2262b056
6 changed files with 168 additions and 2 deletions
15
configs/caddy/git.hacktivism.ch.caddy
Normal file
15
configs/caddy/git.hacktivism.ch.caddy
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue