HTTP重定向到HTTPS在Azure应用程序网关 [英] Redirect HTTP to HTTPS in Azure Application Gateway
本文介绍了HTTP重定向到HTTPS在Azure应用程序网关的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经配置应用网关(AG)做SSL终止/卸载。该公司被配置为只对HTTPS连接端口443听。是否有可能重定向HTTP到HTTPS,而无需:
I have configured an Application Gateway (AG) to do SSL termination/offload. The AG is configured to only listen on port 443 for HTTPS connections. Is it possible to redirect HTTP to HTTPS without having to:
- 创建一个新的虚拟机包含重定向流量网络服务器和配置AG在其后端池新的虚拟机在80端口侦听,或
- 也让我的应用程序虚拟机的HTTP连接和处理重定向在我的应用程序code
我希望我忽略了公司的标志/功能。
I'm hoping I overlooked a flag/feature in AG.
推荐答案
您当然可以,只能使用PowerShell据我所知,虽然。在ARM这样做的指令是文件的
You certainly can, only with PowerShell to my knowledge though. The instructions for doing this in ARM are on the documentation.
我通常会在这里发布的指示,但一些步骤都参与了这一点,那将是一个怪物后!
I would usually post the instructions here but a number of steps are involved in this, it would be a monster post!
这篇关于HTTP重定向到HTTPS在Azure应用程序网关的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文