web.config 1.0 KB

12345678910111213141516171819202122
  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. <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
  11. </handlers>
  12. <aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="InProcess">
  13. <handlerSettings>
  14. <handlerSetting name="experimentalEnableShadowCopy" value="true" />
  15. <handlerSetting name="shadowCopyDirectory" value="../ShadowCopyDirectory/" />
  16. <!-- Only enable handler logging if you encounter issues-->
  17. <!--<handlerSetting name="debugFile" value=".\logs\aspnetcore-debug.log" />-->
  18. <!--<handlerSetting name="debugLevel" value="FILE,TRACE" />-->
  19. </handlerSettings>
  20. </aspNetCore>
  21. </system.webServer>
  22. </configuration>