我最近刚刚在自定义域(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请求工作正常
发布评论