You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Empty value of a backend host header parameter has a special meaning in AFD: if value is empty, the Host header will be populated with what came as part of the request. This is important when same backend pool is used by multiple frontends and needs to be able to know which domain had made the request.
It is possible to make the value blank in Azure Portal, but impossible to do so with az CLI.
The text was updated successfully, but these errors were encountered:
ghost
added
needs-triage
This is a new issue that needs to be triaged to the appropriate team.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
labels
Mar 10, 2021
Describe the bug
Empty value of a backend host header parameter has a special meaning in AFD: if value is empty, the Host header will be populated with what came as part of the request. This is important when same backend pool is used by multiple frontends and needs to be able to know which domain had made the request.
It is possible to make the value blank in Azure Portal, but impossible to do so with az CLI.
To Reproduce
Explicitly specified empty value:
az network front-door backend-pool backend add --resource-group myrg --front-door-name myfd --pool-name DefaultBackendPool --address www.bing.com --backend-host-header "" --disabled true --http-port 80 --https-port 443 --priority 2 --weight 1
results in
No backend-host-header arg specified:
az network front-door backend-pool backend add --resource-group myrg --front-door-name myfd --pool-name DefaultBackendPool --address www.bing.com --disabled true --http-port 80 --https-port 443 --priority 2 --weight 1
results in
Expected behavior
If empty value is explicitly specified for the backend-host-header arg, it should be used instead of defaulting to the backend address.
Environment summary
The text was updated successfully, but these errors were encountered: