Ошибка HTTP 500.1013 - внутренняя ошибка сервера при загрузке более 250 МБ файлов узла IIS в Azure - PullRequest
0 голосов
/ 21 апреля 2020

нажмите здесь для получения подробной информации об ошибке

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>

приведенный выше код отлично работает менее чем в 250 файлах, но у нас есть ошибка выше 250 МБ файлов

...