Azure 应用服务仅对 one/specific 自定义 domain/s 实施 HTTPS

Azure App Services Enforce HTTPS for only for one/specific custom domain/s

我有一个 Azure 应用程序服务,它映射了多个自定义域。当我从 SSL 配置强制执行 HTTPS 时,它应用了所有自定义域。

有什么方法可以只对 one/specific 自定义 domain/s 实施 HTTPS 吗?

我们似乎无法仅对 one/specific 自定义 domain/s 实施 HTTPS。

我在 A​​zure Resource Explorer 中查看 httpsOnly(您可以在 DEVELOPMENT TOOLS 中访问它门户网站),属性 用于整个网络应用程序,我们无法将其设置为特定域。

{
  "id": "/subscriptions/xxxxxx/resourceGroups/joywebapp/providers/Microsoft.Web/sites/joywebapp2",
  "name": "joywebapp2",
  "type": "Microsoft.Web/sites",
  "kind": "app",
  "location": "Central US",
  "properties": {
      ........
     "httpsOnly": true
   }
}

现在 Azure 应用服务可以选择仅对 one/specific 自定义 domain/s 强制执行 HTTPS,使用:

Azure 门户 > 应用服务 > 单击 webapp > 设置 > 自定义域

在本节中将 HTTPS only 设置为 On