从远程服务器读取Apache错误-上传大文件

时间:2019-02-22 17:00:56

标签: node.js django apache upload request

我正在尝试在节点服务器和django服务器之间发送大文件(〜300Mo)。 300Mo以下的文件发送良好,但是超过300Mo时, 发生此错误:

    Proxy Error
The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request POST /dashboard/patient/fileAdd.

Reason: Error reading from remote server

这是我的httpd.conf,我已经尝试了许多命令:

<VirtualHost ***URL***>
  ProxyPreserveHost  On
  ProxyPass "/" "http://localhost:23000/" connectiontimeout=1600 acquire=3000 retry=0 timeout=1600 Keepalive=On
  ProxyPassReverse "/" "http://localhost:23000/"
  SetEnv proxy-sendchunks 1
  SetEnv proxy-initial-not-pooled
  ProxyBadHeader Ignore
  ProxyTimeout 1600
  LimitRequestBody 0

0 个答案:

没有答案