使用Azure Function应用设置自定义域 [英] Setting up a custom domain with an Azure Function app

查看:82
本文介绍了使用Azure Function应用设置自定义域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个以动态定价运行的Azure Function应用,正在尝试设置自定义域.

I have an Azure Function app running on dynamic pricing and am trying to set up a custom domain.

我已经添加并验证了域,并相应地设置了CNAME记录.当我在Azure门户中查看应用程序服务设置时,自定义域正确显示为"URL".但是,如果我尝试使用此域(以访问HTTP触发功能),则会返回错误404-找不到Web应用程序".

I have added and verified the domain and setup the CNAME record accordingly. The custom domain shows up correctly as the "URL" when I view the App Service settings in the Azure portal. If I try to use this domain, however (to access an HTTP trigger function), I am returned with "Error 404 - Web app not found."

当我在门户中查看Function URL时,它仍然显示x.azurewebsites.net域,而不是我添加的自定义域.要让Functions与自定义域一起使用,我还需要做些其他事情吗?

When I look at the Function URL in the portal, it still shows the x.azurewebsites.net domain, not the custom domain I have added. Is there anything additional I need to do to get Functions working with a custom domain?

推荐答案

从我的实际上,动态功能计划尚不支持自定义域.稍后将提供这种支持(目前尚无明确的ETA可供分享).

Indeed, custom domains are not yet supported for Dynamic Function plans. This support will come a bit later (no clear ETA to share at this point).

这篇关于使用Azure Function应用设置自定义域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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