【Azure App Service】如何来停止 App Service 的高级工具站点 Kudu ?

简介: 【Azure App Service】如何来停止 App Service 的高级工具站点 Kudu ?

问题描述

如何来停止 App Service 的高级工具站点 Kudu ?

kudu 介绍

Kudu 提供了一组面向开发人员的工具和扩展点,用于您的应用服务应用程序.

Kudu (Advanced Tools) provides a collection of developer oriented tools and extensibility points for your App Service Apps.

 

问题解答

App Service/Function App/Standard Logic App 均支持通过在 Configuration 页面设置参数 WEBSITE_DISABLE_SCM_SEPARATION = true 来禁用Kudu 站点。

第一步:设置 WEBSITE_DISABLE_SCM_SEPARATION=true

App Service --> Configuration --> Application Settings

 

第二步:查看并对比变化

添加配置后,访问Kudu URL返回 503 Service Unavailable错误

参考资料

访问应用的 Kudu : https://learn.microsoft.com/zh-cn/azure/app-service/resources-kudu#access-kudu-for-your-app

每当创建应用时,应用服务都会为该应用创建一个由 HTTPS 保护的配套应用。 可在以下位置访问此 Kudu 应用:https://<app-name>.scm.azurewebsites.net

 

Enable/disable Kudu : https://github.com/projectkudu/kudu/wiki/Configurable-settings#enabledisable-build-actions

Depending on the type of site you are deploying and the deployment method you are using, Kudu will executes build steps on your site during deployment, such as npm install or dotnet build/dotnet publish. To disable this, such as when performing deployment of an already-built site, set:

SCM_DO_BUILD_DURING_DEPLOYMENT=false
相关文章
|
3天前
|
API
【Azure Logic App】使用Logic App来定制Monitor Alert邮件内容遇见无法获取SearchResults的情况
Log search alert rules from API version 2020-05-01 use this payload type, which only supports common schema. Search results aren't embedded in the log search alerts payload when you use this version.
26 10
|
1月前
|
缓存 容器 Perl
【Azure Container App】Container Apps 设置延迟删除 (terminationGracePeriodSeconds) 的解释
terminationGracePeriodSeconds : 这个参数的定义是从pod收到terminated signal到最终shutdown的最大时间,这段时间是给pod中的application 缓冲时间用来处理链接关闭,应用清理缓存的;并不是从idel 到 pod被shutdown之间的时间;且是最大时间,意味着如果application 已经gracefully shutdown,POD可能被提前terminated.
|
1月前
|
开发框架 监控 .NET
【Azure App Service】部署在App Service上的.NET应用内存消耗不能超过2GB的情况分析
x64 dotnet runtime is not installed on the app service by default. Since we had the app service running in x64, it was proxying the request to a 32 bit dotnet process which was throwing an OutOfMemoryException with requests >100MB. It worked on the IaaS servers because we had the x64 runtime install
|
1月前
|
Java 开发工具 Windows
【Azure App Service】在App Service中调用Stroage SDK上传文件时遇见 System.OutOfMemoryException
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
|
1月前
|
安全 Apache 开发工具
【Azure App Service】在App Service上关于OpenSSH的CVE2024-6387漏洞解答
CVE2024-6387 是远程访问漏洞,攻击者通过不安全的OpenSSh版本可以进行远程代码执行。CVE-2024-6387漏洞攻击仅应用于OpenSSH服务器,而App Service Runtime中并未使用OpenSSH,不会被远程方式攻击,所以OpenSSH并不会对应用造成安全风险。同时,如果App Service的系统为Windows,不会受远程漏洞影响!

热门文章

最新文章

下一篇
DataWorks