How to define headers
for IP security restrictions of an Azure Web App, with Bicep?
Documentation says little about this, only that headers
is an object.
ipSecurityRestrictions: [
{
priority: 1000
name: 'AFD'
tag: 'ServiceTag'
action: 'Allow'
ipAddress: 'AzureFrontDoor.Backend'
headers: {
x_azure_fdid : [
'3dc8865d-90c7-4b87-8edf-99726c56543a'
]
}
}
]
Error is: The 'x_azure_fdid' header is not supported!
I tried with x_azure_fdid
, xazurefdid
or even 'x_azure_fdid'
, uppercase, etc... to no avail.
CodePudding user response:
Looking at Front Door documentation, the header name is X-Azure-FDID
headers: {
'x-azure-fdid': [
'3dc8865d-90c7-4b87-8edf-99726c56543a'
]
}