mirror of
https://github.com/9001/copyparty.git
synced 2026-02-26 21:43:08 -07:00
Merge dfd1e3bcc3 into 78f6855f08
This commit is contained in:
commit
db60ff99ce
|
|
@ -32,7 +32,18 @@
|
|||
# (curl -s https://www.cloudflare.com/ips-v{4,6} | sed 's/^/allow /; s/$/;/'; echo; echo "deny all;") > /etc/nginx/cloudflare-only.conf
|
||||
#
|
||||
# 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