Azure CDN SSL HTTPS导致502错误的网关,但HTTP请求工作正常

编程入门 行业动态 更新时间:2024-10-25 09:23:27
本文介绍了Azure CDN SSL HTTPS导致502错误的网关,但HTTP请求工作正常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我最近刚刚在自定义域(Verizon Standard)上的Azure CDN上设置了https.如果重要的话,我正在通过cloudflare CNAME路由DNS.但是,无论我做什么,通过SSL访问Azure CDN都会得到502 Bad Gateway.

I've just recently setup https on Azure CDN on custom domains (Verizon Standard). I'm routing the DNS through cloudflare CNAME if that matters. However, no matter what I do, accessing Azure CDN over SSL I get a 502 Bad Gateway.

删除我的CNAME映射并直接访问,它仍然失败.是的,我可以直接通过SSL访问该文件.我的自定义Https显示已启用";在控制台中.

Removing my CNAME map and accessing directly, it still fails. And yes, I can access the file directly via SSL. My Custom Https shows "Enabled" in the console.

CDN Direct:

CDN Direct:

作品:barrysec.azureedge/wp-content/uploads/2017/01/3-1.jpg

Works: barrysec.azureedge/wp-content/uploads/2017/01/3-1.jpg

502:barrysec.azureedge/wp-content/uploads/2017/01/3-1.jpg

502: barrysec.azureedge/wp-content/uploads/2017/01/3-1.jpg

来源:

Works:www.seanbarry/wp-content/uploads/2017/01/3-1.jpg

Works:www.seanbarry/wp-content/uploads/2017/01/3-1.jpg

Works:www.seanbarry/wp-content/uploads/2017/01/3-1.jpg

Works:www.seanbarry/wp-content/uploads/2017/01/3-1.jpg

CNAME:

Works:cdn.seanbarry/wp-content/uploads/2017/01/3-1.jpg

Works:cdn.seanbarry/wp-content/uploads/2017/01/3-1.jpg

502:cdn.seanbarry/wp-content/uploads/2017/01/3-1.jpg

502:cdn.seanbarry/wp-content/uploads/2017/01/3-1.jpg

推荐答案

您可以验证是否在来源"(Origins)中选中了"HTTPS"您在Azure门户中的端点的选项卡"?

Can you verify that 'HTTPS' is checked in the "Origins" tab of your endpoint in the Azure portal?

更多推荐

Azure CDN SSL HTTPS导致502错误的网关,但HTTP请求工作正常

本文发布于:2023-10-10 22:42:04,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1479962.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网关   错误   工作   SSL   CDN

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!