Restrict Traffic in Static Web App only for Azure Front Door
I set up a premium Front Door for my Static Webapp (& other App Services).
Everything works fine but now I would like to restrict traffic going directly to the static web app.
I followed this guide: https://learn.microsoft.com/en-us/azure/static-web-apps/front-door-manual?tabs=azure-portal&pivots=swa-afd-manual-afd
And based on the guide i came up with the following code: