使用Azure Service Fabric设置Azure Function代理

时间:2018-07-27 13:32:00

标签: azure azure-functions

我想在具有Azure Service结构的Azure Functions中设置代理。当我浏览 http://tktestfnc.westus.cloudapp.azure.com/api/values 我得到了输出。

但是当我尝试这个 http://tktestfunc.azurewebsites.net/myweb/api/values 它给出了找不到页面

{
    "$schema": "http://json.schemastore.org/proxies",
    "proxies": {
        "tktestweb": {
            "matchCondition": {
                "route": "/myweb",
                "methods": [
                    "GET"
                ]
            },
            "backendUri": "http://tktestfnc.westus.cloudapp.azure.com"
        }
    }
}

我配置正确吗?

0 个答案:

没有答案