Azure前门http-> https
每个人! 我有自己的服务仅由HTTP工作,该服务是Azure前门的后端。 如果我想与HTTP一起使用我的服务,我可能会使用Azure AppGateway - 允许我使用SSL终止。 Azure前门是否允许这样做?
现在,我有下一个配置: 端口8443
配置的前门服务: ScreenShot
和带有cert(letsencrypt)的随附自定义
域检索 200 ok revensce
但是,当我使用https -https -https-我得到错误
那么,AFD是否允许HTTPS覆盖HTTP?
多谢!
everyone!
I have own service working only by HTTP which set up as a backend in Azure FrontDoor.
If I want to use my service with HTTPS I may use Azure AppGateway - which allows to me to use ssl-termination.
Is Azure FrontDoor allows do the same?
For now I have next configuration:
Service on port 8443
Configured FrontDoor:
Screenshot
And attached custom domain with cert (letsEncrypt)
So that, when I going to http - I retrieve 200 OK responce
But, when I use HTTPS - I get an error
So, does AFD allow to cover HTTP by HTTPS?
Thanks a lot!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
显然,您的后端仅配置为收听HTTP(在端口8443上)。从您的配置中,看起来您的后端不支持HTTPS。因此,为了使此工作起作用,您可以更改路由配置:
转发协议:http(而不是“匹配传入”)
,即使传入的客户端请求在HTTPS上,前门也会始终将HTTP与后端交谈。
注意:通常,我仍然建议在前门和您的后端之间使用HTTP,因为这可能是一条很长的网络路径,即使这一切都停留在Microsoft骨干线上,大多数人也更喜欢在那里加密流量。
Your backend is apparently only configured to listen to HTTP (on port 8443). From your config, it does not look like your backend would support HTTPS. So in order for this to work, you can change your routing configuration:
Forwarding Protocol: HTTP (instead of "match incoming")
This way, Front Door will always talk HTTP to the backend, even if the incoming client request was on HTTPS.
Note: Generally I would still recommend to use HTTPS between Front Door and your backend, since this can be quite a long network path, even though it all stays on the Microsoft backbone, most people prefer to have encrypted traffic there, too.