15 lines
400 B
Text
15 lines
400 B
Text
# 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
|
|
}
|
|
}
|
|
}
|