Azure Web应用程序自动从Http重定向到Https [英] Azure web app automatically redirect from Http to Https

查看:187
本文介绍了Azure Web应用程序自动从Http重定向到Https的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Azure上有一个网站,并且已使用自定义域对其进行配置.该网站始终从http重定向到https,因此在浏览器中出现如下所示的不安全错误.

I have a website on Azure and I have configured it with the custom domain.Website always redirects from http to https so getting error of not secure in browser as below..

我不想将其重定向到https.解决方案是什么,它重定向到https的原因是什么?

I don't want to redirect it to https.What is the solution and what is the reason that it redirects to https ?

在天蓝色的Web应用程序概述中,我获得了带有Http的URL:

On azure in web app overview I get URL with Http :

推荐答案

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.

要查看此信息,只需创建一个新的空Web应用程序,并验证您是否能够使用http浏览它.

To see this, simply create a new empty Web App, and verify that you are able to browse to it using http.

这篇关于Azure Web应用程序自动从Http重定向到Https的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆