not sure if this is actually an apache issue or config issue.
i have a setup with a server which is behind a load balancer.
the server has apache 2.4.6 and running
os: Red Hat Enterprise Linux Server release 7.1 (Maipo)
apache has a bunch of defined urls which are then going to a backend which is written in nodejs
and the issue is when uploading "larger" files (20mb+), funny enough this doesn't occur on my test server which is essentially the same in everyway just with no load.i get the following error.
error
Bad Gateway The proxy server received an invalid response from an upstream server.
[proxy:error] [pid xxx] (32)Broken pipe: [client xxx] AH01084: pass request body failed to 127.0.0.1:3000 (127.0.0.1), referer: https://website.com/[proxy_http:error] [pid xxx] [client xxx] AH01097: pass request body failed to 127.0.0.1:3000 (127.0.0.1) from xxx (), referer: https://website.com/
my config
ServerTokens ProductOnlyServerSignature Off<IfModule security2_module> SecRuleEngine on SecServerSignature " "</IfModule>TraceEnable OffInclude /path/ip.conf<VirtualHost ${internalIp}:443> ServerName website.com ServerAdmin website@web.com LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy SetEnvIf Request_URI "^" no_forwarded SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" forwarded # html, logs DocumentRoot "/path/new" ErrorLog "|/sbin/rotatelogs -l /path/apache_error_%Y.%m.%d.log 86400" CustomLog "|/sbin/rotatelogs -l /path/apache_access_%Y.%m.%d.log 86400" proxy env=forwarded CustomLog "|/sbin/rotatelogs -l /path/apache_access_%Y.%m.%d.log 86400" combined env=no_forwarded # configure ssl TLSv1.2 SSLEngine On SSLProtocol ALL -SSLv2 -SSLv3 -TLSv1 SSLHonorCipherOrder On SSLCipherSuite ALL # server certificate SSLCertificateFile "/path/website.cer" SSLCertificateKeyFile "/path/website.key" SSLCACertificateFile "/path/website.pem" # headers Header always unset Server Header always unset X-Powered-By Header add Strict-Transport-Security "max-age=31536000000;includeSubDomains" Header edit Set-Cookie "(?i)^((?:(?!;\s?secure).)+)$" "$1; secure" Header always append X-Frame-Options DENY<Location "/api/"><LimitExcept POST GET PUT DELETE OPTIONS PATCH> Deny from all</LimitExcept> SetEnvIf Request_URI .* proxy-scgi-pathinfo SetEnvIf Authorization "(.*)" Authorization=$1 SetEnvIf Content-Type "(.*)" CONTENT_TYPE=$1 ProxyPass http://127.0.0.1:3000/ ProxyPassReverse http://127.0.0.1:3000/ </Location></VirtualHost>