【问题标题】:Is it possible to change the connection time out setting for IIS in Azure App Services是否可以在 Azure 应用服务中更改 IIS 的连接超时设置
【发布时间】:2020-03-04 15:00:45
【问题描述】:

我有一个托管在带有 IIS 的 VM 上的 asp.net 应用程序。现在我想在 Azure 应用服务中托管相同的应用程序。我们修改了 IIS 设置,例如 Connection Time-out

如何设置 Azure 应用服务的连接超时值

【问题讨论】:

标签: azure azure-web-app-service


【解决方案1】:

如果您想编辑system.applicationHost 下的connectionTimeout 设置,您可以修改applicationhost.config 文件。您可以手动创建或使用IISManager 创建文件并进行修改。

这里是sample

<system.applicationHost>
   <sites>
      <siteDefaults>
         <logFile logFormat="W3C"
            directory="%SystemDrive%\inetpub\logs\LogFiles"
            enabled="true" />
         <traceFailedRequestsLogging enabled="true"
            directory="%SystemDrive%\inetpub\logs\FailedReqLogFiles"
            maxLogFiles="20" />
         <limits connectionTimeout="00:01:00" />
         <ftpServer serverAutoStart="true" />
         <bindings>
            <binding protocol="http" bindingInformation="127.0.0.1:8080:" />
         </bindings>
      </siteDefaults>
   </sites>
</system.applicationHost>

【讨论】:

    猜你喜欢
    • 2010-12-08
    • 2017-08-28
    • 2020-10-03
    • 2011-08-14
    • 2013-03-07
    • 2017-08-30
    • 1970-01-01
    • 2012-05-08
    • 1970-01-01
    相关资源
    最近更新 更多