fix: prevent OOM on nginx reverse proxy servers (#24351)
Prevent OOM on reverse proxy servers Added configuration to disable buffering for uploads.pull/24376/head
parent
4fe494776e
commit
853a024f0f
|
|
@ -21,6 +21,9 @@ server {
|
|||
# allow large file uploads
|
||||
client_max_body_size 50000M;
|
||||
|
||||
# disable buffering uploads to prevent OOM on reverse proxy server and make uploads twice as fast (no pause)
|
||||
proxy_request_buffering off;
|
||||
|
||||
# Set headers
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
|
|
|||
Loading…
Reference in New Issue