HTTP Error 500.1013 - Internal Server Error While uploading more than 250 mb files IIS node in Azure

北慕城南 提交于 2020-04-30 06:32:31

问题


click here for error details

my web.config

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.webServer>
    <handlers>
      <clear />
      <add name="iisnode" path="app.js" verb="*" modules="iisnode" />
    </handlers>
    <httpErrors existingResponse="PassThrough" />
    <httpProtocol>
      <customHeaders>
        <remove name="X-Powered-By" />
      </customHeaders>
    </httpProtocol>
    <iisnode enableXFF="true" maxRequestBufferSize="52428800" loggingEnabled="true" />
    <rewrite>
      <rules>
        <rule name="Node app">
          <match url="/*" />
          <action type="Rewrite" url="app.js" />
        </rule>
      </rules>
    </rewrite>
    <security>
      <requestFiltering removeServerHeader="true">
        <requestLimits maxAllowedContentLength="2097152000" />
      </requestFiltering>
   </security>
   <webSocket enabled="false" />
  </system.webServer>
</configuration>

the above code works fine in less than 250 files, but we have an error above 250 MB files

来源:https://stackoverflow.com/questions/61340153/http-error-500-1013-internal-server-error-while-uploading-more-than-250-mb-fil

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!