romele / git-trace public
62 commits · 1 branch · 1 tag · 1 contributor (top: Romele) · first commit 3d ago · last push 13m ago
deploy/Caddyfile.snippet
# Caddy block for the forge — append to the existing Caddyfile.
# Replace git.example.com with the real domain once DNS is live.
git.example.com {
# smart-HTTP bodies (push) must not be buffered;
# request timeouts raised for large clones/pushes.
reverse_proxy 127.0.0.1:8081 {
header_up Host {host}
header_up X-Forwarded-For {remote_host}
transport http {
read_buffer 8192
}
}
# uploads are capped at 4 MiB server-side; belt & suspenders here
request_body {
max_size 64MB
}
}