mirror of
https://github.com/9001/copyparty.git
synced 2026-02-27 05:53:11 -07:00
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:
parent
78f6855f08
commit
dfd1e3bcc3
|
|
@ -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.
|
||||
# ======================================================================
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue