Azure / Azure/Azure-Functions

"/admin" is an undocumented reserved word for function proxies

Open
#2,304 2 comments 0 reactions 1 assignee Claimed by @ramya894 View on GitHub
area: documentation
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

I know that the Azure Function App proxies function is deprecated in v4 function apps. However, for v3 apps, if you create a function app proxy with the path of "/admin", it will not proxy the request and return a 404 error without any additional information. If you change the proxy to something other than "/admin", it will work as expected. As far as I can tell, this behavior is undocumented.

```
{
"$schema": "http://json.schemastore.org/proxies",
"proxies": {
"ProxyLocation": {
"desc": [
"ProxyLocation"
],
"debug": false,
"disabled": false,
"matchCondition": {
"methods": [
"HEAD",
"OPTIONS",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"route": "/admin/{*path}"
},
"backendUri": "https://example.com/{path}"
}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.