Azure 中的自定义域总是重定向到 https
custom domain in azure always redirect to https
我在 azure 中遇到自定义域问题,我创建了一个 webapps 并配置了自定义域,唯一的 https 被禁用
域的托管是 azure dns 区域
当我尝试转到我的页面时,总是重定向到 https
我是从 https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-custom-domain
一步一步做的
默认情况下,Azure Web 应用不会自动将 http 重定向到 https。这可能是由您特定应用程序中的某些逻辑引起的。
这里有一个,你可以参考一下
Azure Web Apps do not automatically redirect http to https by default, so it may be caused by some logic in your specific app, or some other non-default step that you took.
To see this, simply create a new empty Web App, and verify that you are able to browse to it using http.
您的配置中可能有这一行
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />
我在 azure 中遇到自定义域问题,我创建了一个 webapps 并配置了自定义域,唯一的 https 被禁用
域的托管是 azure dns 区域
当我尝试转到我的页面时,总是重定向到 https 我是从 https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-custom-domain
一步一步做的默认情况下,Azure Web 应用不会自动将 http 重定向到 https。这可能是由您特定应用程序中的某些逻辑引起的。
这里有一个
Azure Web Apps do not automatically redirect http to https by default, so it may be caused by some logic in your specific app, or some other non-default step that you took.
To see this, simply create a new empty Web App, and verify that you are able to browse to it using http.
您的配置中可能有这一行
<action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" appendQueryString="false" />