Code-less redirection with serverless Azure Functions
How to quickly and simply configure redirections without writing code in Azure Functions
Say you want to have a nicer URI for something (like an Azure storage blob, a feed or something else). You likely have a nice short custom domain (i.e. I use kzu.io for things like this), and would like to set up arbitrary (temporary or permanent) redirections. This can trivially be achieved by creating an empty Functions App and leveraging Functions Proxies.
The proxies.json
file for code-less redirects looks as follows:
You can have as many of those IDs/entries as needed. For example, this is one I use to set up https://pkg.kzu.io/index.json
> 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