Disable proxy_request_buffering for the EDGE, as it may result into OOM or OOD for large files uploads
@@ -43,6 +43,8 @@ stream {
http {
# CP_EDGE_WEB_CLIENT_MAX_SIZE is replaced in the `init` script
client_max_body_size $CP_EDGE_WEB_CLIENT_MAX_SIZE;
+ proxy_http_version 1.1;
+ proxy_request_buffering off;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
