fix(docs): slow upload speed with example nginx reverse proxy config (#24490)

* increase buffer size

* increase further

* increase buffer further
pull/24218/merge
Noel S 2025-12-10 14:29:36 +07:00 committed by GitHub
parent 5e5bb7e87d
commit 4cbce072be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

@ -24,6 +24,9 @@ server {
# disable buffering uploads to prevent OOM on reverse proxy server and make uploads twice as fast (no pause)
proxy_request_buffering off;
# increase body buffer to avoid limiting upload speed
client_body_buffer_size 1024k;
# Set headers
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;