From 8299dc78952ada04f88cca04b507d32670b5cf14 Mon Sep 17 00:00:00 2001 From: jessieyyt <131130380+jessieyyt@users.noreply.github.com> Date: Tue, 9 Jul 2024 15:24:19 +0800 Subject: [PATCH] Update staticwebapp.config.json --- src/staticwebapp.config.json | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/staticwebapp.config.json b/src/staticwebapp.config.json index 6fcae0a..b40c7ae 100644 --- a/src/staticwebapp.config.json +++ b/src/staticwebapp.config.json @@ -1,9 +1,14 @@ { - "forwardingGateway": - { - "requiredHeaders": { + "networking": + { + "allowedIpRanges": ["AzureFrontDoor.Backend"] + }, + "forwardingGateway": + { + "requiredHeaders": + { "X-Azure-FDID" : "76c51bc6-532e-452b-9220-698ac75096ab" - }, + }, "allowedForwardedHosts": [ "yyt-swa-byoafd-test-afd-fzgvc5bpdsbub5d3.b02.azurefd.net" ] } }