Document Cloudflare proxy upload speed optimization

Added instructions for fixing upload speed and big uploads not working in general when using Cloudflare proxy with nginx.

Signed-off-by: Gian P. <63517877+gkp1@users.noreply.github.com>
This commit is contained in:
Gian P. 2026-01-19 05:38:13 -03:00 committed by GitHub
parent 78f6855f08
commit dfd1e3bcc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,6 +33,17 @@
#
# and then enable it below by uncommenting the cloudflare-only.conf line
#
#
# ** Fix upload speed for Cloudflare proxy: from <1MBps to >40MBps **
# If using cloudflare proxy, replace:
# proxy_set_header Connection "Keep-Alive";
# with:
# proxy_set_header Connection "";
# and just make sure you also have: proxy_http_version 1.1;
#
# Reason: Clears client "Connection" headers so Nginx can manage its own
# persistent pool via the "upstream" keepalive. Prevents Cloudflare/Client
# close-signals from killing the backend pipe, drastically boosting speed.
# ======================================================================