interplane.Get Omega
Read in your language

interplane-forge

INTERPLANE Forge

Brought by drakestapleton

branch main Branches Tags History

interplane-forge / infra / nginx / snippets / forge-archive.conf

10 lines · 619 bytes Raw Blame History
1# /etc/nginx/snippets/forge-archive.conf on hub - extra settings for downloads:
2# /<owner>/<repo>/archive/..., /<owner>/<repo>/raw/..., /<owner>/<repo>/releases/download/...
3# and /<owner>/<repo>/patches/<id>.bundle (the bundle of an imported proposal).
4# Include AFTER forge-proxy.conf, which buffers and spools every forged response (forged is never
5# held by a slow client). Downloads are the large responses, so their concurrency is capped:
6# 2 per client and 6 in total (zones in conf.d/forge.conf), which bounds the disk spool.
7proxy_read_timeout 300s;
8gzip off;
9limit_conn forge_dl 2;
10limit_conn forge_dl_all 6;