interplane-forge
INTERPLANE Forge
Brought by drakestapleton
interplane-forge / infra / nginx / snippets / forge-archive.conf
| 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. |
| 7 | proxy_read_timeout 300s; |
| 8 | gzip off; |
| 9 | limit_conn forge_dl 2; |
| 10 | limit_conn forge_dl_all 6; |