如何修复在 Azure 的 ILB ASE 中创建的函数应用程序无法访问的问题?

How will fix Inaccessible issue for function app created in ILB ASE in azure?

我正在尝试在 azure ILB ASE 中创建一个函数应用程序,但由于无法访问而无法打开 Kudu。如何正确配置?

看看这个问题 - Document how to use Functions in an ILB ASE and this link,确保你符合要求。

  1. 与您的 ILB ASE 在同一个 vnet 中
  2. 具有默认域和默认 scm 域的有效证书。 *.yourILBDomain.com*.scm.yourILBDomain.com
  3. 除了证书,还需要为ILB域配置DNS。

由于 Azure 功能部署在 ILB ASE 中,因此只能从虚拟网络访问它。如果要访问 VNet 外部的功能,则需要部署一个 public Azure 应用程序网关来公开内部端点。 Azure 应用程序网关将用作反向代理,将传入流量路由到适当的端点。

参考文献:

Integrate your ILB App Service Environment with the Azure Application Gateway

Private Function Apps in Azure Government using App Service Environment (ASE)