【发布时间】:2018-06-15 08:08:05
【问题描述】:
【问题讨论】:
标签: azure https azure-web-app-service custom-domain
【问题讨论】:
标签: azure https azure-web-app-service custom-domain
似乎我们不能只对一个/特定的自定义域强制使用 HTTPS。
当我在 Azure 资源浏览器 中查看httpsOnly 时(您可以在门户的开发工具 中访问它),该属性适用于整个网络应用程序,我们无法将其设置为特定域。
{
"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 应用服务可以选择仅对一个/特定的自定义域强制使用 HTTPS:
Azure 门户 > 应用服务 > 单击 webapp > 设置 > 自定义域
在本节中将HTTPS only 设置为On
【讨论】: