I have a web site that is hosted as an Azure App Service. I want to have one directory of that service serve files that are managed by the site. I don't really want to store the files on the App Service as I'm worried they might get deleted during a redeployment. I was thinking I would just store the files in an Azure Storage Account. I can't however see a way of forwarding on the requests to the Storage Account.
So for example:
If I have a site at example.com/
I want the file example.com/form.aspx
to be served from my App Service, but I want to have everything in example.com/File/
(e.g example.com/File/File1.jpeg
) served from my Storage Account. I don't want to do a redirect because that would change the URL the user sees in their browser.
How would you set that up?