Code-less redirection with serverless Azure Functions
How to quickly and simply configure redirections without writing code in Azure Functions
{
"$schema": "http://json.schemastore.org/proxies",
"proxies": {
"[SOME_ID]": {
"matchCondition": {
"methods": [ "GET" ],
"route": "[SHORT_PATH_HERE]"
},
"responseOverrides": {
"response.statusCode": "[301|302|307|308|",
"response.headers.location": "[LONG_URL_HERE]"
}
}
}
}{
"$schema": "http://json.schemastore.org/proxies",
"proxies": {
"default": {
"matchCondition": {
"methods": [ "GET" ],
"route": "index.json"
},
"responseOverrides": {
"response.statusCode": "307",
"response.headers.location": "https://kzu.blob.core.windows.net/nuget/index.json"
}
}
}
}PreviousUsing Azure File Copy from DevOps yaml pipelineNextHow to run Azure Storage unit tests in CI
Last updated