fix: prevent OOM on nginx reverse proxy servers (#24351)

Prevent OOM on reverse proxy servers

Added configuration to disable buffering for uploads.
This commit is contained in:
Nicholas
2025-12-03 15:30:28 -05:00
committed by GitHub
parent 4fe494776e
commit 853a024f0f

View File

@@ -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;