web.config 991 B

1234567891011121314151617181920212223
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <configuration>
  3. <system.webServer>
  4. <security>
  5. <requestFiltering>
  6. <requestLimits maxAllowedContentLength="1073741824" maxQueryString="1073741824" />
  7. </requestFiltering>
  8. </security>
  9. <handlers>
  10. <remove name="aspNetCore" />
  11. <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModulev2" resourceType="Unspecified" />
  12. </handlers>
  13. <aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout">
  14. <handlerSettings>
  15. <handlerSetting name="experimentalEnableShadowCopy" value="true" />
  16. <handlerSetting name="shadowCopyDirectory" value="../ShadowCopyDirectory/" />
  17. <!-- Only enable handler logging if you encounter issues-->
  18. <!--<handlerSetting name="debugFile" value=".\logs\aspnetcore-debug.log" />-->
  19. <!--<handlerSetting name="debugLevel" value="FILE,TRACE" />-->
  20. </handlerSettings>
  21. </aspNetCore>
  22. </system.webServer>
  23. </configuration>