Umbraco Cloud - Legacy assets folder

Hi,

We are preparing a website to migrate over to Umbraco Cloud and have sorted the transfer of 20gb of /media/ but we also have 5gb of assets in a legacy folder (eg /legacy/) which still needs to be referenced but can’t go into the CMS media setup because the pathing is important and would be too complicated to sort 301s to the new location in the media setup.

What’s the best approach to this? Upload the 5gb of files via Azure Storage Explorer to a folder on there so there’d be:
cache
legacy
media

And then create a rewrite rule on the site to redirect /legacy/ to the https://ucmedia…. /..site-guid./legacy/.. url? Is it good to expose the actual base URL here? Does it benefit from a CDN when pointed directly? I have answers from the AI chat bot but not completely confident on the accuracy of it. I imagine plenty of people of done similar here and had enough assets that meant putting into git is a no go.

Thanks!

I think for this one, seems like the best bet is a rewrite rule and a controller action with a route to proxy the content from ucmedia Azure blob storage via the site to mask the original URLs and also still take advantage of the Cloudflare CDN for the static assets proxied.