Questions tagged [azure-application-gateway]
834 questions
2
votes
1 answer
Let django use the x-original-host header to setup absolute urls
Context
We have a Docker container running Django on Azure. The container is served through a Azure Application Gateway.
Because Django is behind a a proxy you should use use the USE_X_FORWARDED_HOST setting to let Django fetch the hostname from…

Florian
- 725
- 6
- 27
2
votes
1 answer
How to update Azure Application Gateway Path Based Rule UrlPathMap from .NET
On Azure Portal, I am able to setup path-based rules which have some default setting, and a list of sub-rules (UrlPathMap).
Each of those sub-rules has a name, paths, backend pool, and HTTP setting that have to be configured.
As I can see I can…

Yurii Horak
- 93
- 1
- 7
2
votes
2 answers
How do I redirect multiple URLs in Azure Application Gateway?
In Azure Application Gateway, is it possible to do the following redirects:
example.com/folder1/page1.html > newexample.com
www.example.com/folder1/page1.html > newexample.com
example2.com/folder2/page2.html > newexample.com/page2.html
I've added a…

Confounder
- 469
- 1
- 8
- 23
2
votes
1 answer
Azure Application Gateway DNS returning 307 to backend pool
I am trying to configure Azure Application Gateway with Basic Rule. For my Frontend IP, I have created set DNS name to whatever.canadacentral.cloudapp.azure.com and uploaded a self-signed certificate. When I hit https:// everything works correctly…

Sadiq Khoja
- 522
- 1
- 5
- 23
2
votes
1 answer
Azure application gateway how to connect with kubernetes ingress controller (nginx)
I have a kubernetes cluster created. According to security policies in the company, I need to have first an application gateway WAF in front that hits the cluster (which has a public IP). And as an ingress controller for this cluster I need to…

Chanafot
- 736
- 4
- 22
- 46
2
votes
1 answer
Azure Application Gateway not pulling through SSL Cert purchased via Azure App Service Certificates
Background
I am trying to implement a WAF in font of a web app hosted in azure app service. This app is configured to force https so the WAF needs to pass through https traffic (end to end SSL as explained here…

Font_writing_code
- 65
- 9
2
votes
1 answer
Azure: Route subdomain traffic to different backend port
I have multiple sites hosted on the same machine in Azure on different ports:
foobar.com:8000
foobar.com:8001
foobar.com:8002
etc
I would like to address these by subdomain using a reverse proxy;
aaaa.mysite.com ---->…

SturmUndDrang
- 1,876
- 5
- 27
- 47
2
votes
2 answers
List of failed requests in Azure application gateway
We can see the failed request count in Azure application gateway but how can we see the list of failed requests in the Logs section?
All the logs enabled in Diagnostics settings of Application Gateway.
We need to see at least the requested path…

Abhith
- 196
- 2
- 16
2
votes
2 answers
Can you see the Firewall Rule that was triggered on Azure Application Gateway WAF
We're using the Application Gateway WAF in prevention mode and it's blocking some of our Mobile App Client requests. I switched the WAF into Detection mode and output the logs to Log Analytics. I can see some information about the requests being…

David C
- 501
- 1
- 4
- 16
2
votes
1 answer
AAD authentification in AKS
I am using Microsoft.AspNetCore.Authentication.AzureAD.UI package.
And simple authentication in Startup.cs:
services.AddAuthentication(AzureADDefaults.AuthenticationScheme)
.AddAzureAD(options => Configuration.Bind("AzureAd",…

Alexej Sommer
- 2,677
- 1
- 14
- 25
2
votes
2 answers
Application Gateway ARM Template - Parameter for Enabling Firewall
I have a working ARM Template to deploy an Application Gateway with WAF Enabled, this is currently always enabling the Firewall and setting the Firewall Mode based on parameters.
We want to parameterize enabling the WAF so that an AGW can be…

Clackers
- 127
- 1
- 2
- 7
2
votes
1 answer
Azure Load Balancing Solution - Application Gateway or Azure Load Balancer
Note: I'm still in learning phase.
Question: For the scenario described below, in the Load Balancing Settings for the two VMs for the FrontEnd subnet should I choose Application Gateway or Azure Load Balancer?
In Azure portal, when I create the VMs…

nam
- 21,967
- 37
- 158
- 332
2
votes
2 answers
Azure Application gateway with web apps
I have setup an Azure Application Gateway in front of an Azure Web Application. I have added IP restriction on Web app to allow access only from the Application gateway's public IP address. This works fine but when I type the public IP address in…

mangun
- 292
- 1
- 4
- 16
2
votes
2 answers
Microsoft Azure - Allow specific IP to access specific page
I'm new in Microsoft Azure and we are encountering problem in limiting access in specific page of our website to specific ip address. What we would like to do is only specific ip address can visit certain pages like /user, /admin. We don't know if…

LordGrim
- 731
- 2
- 11
- 22
2
votes
2 answers
Application Gateway Url Routing to multiple App Services
I have several app services that I want to use application gateway to sit in front of and route traffic to using URL Routing. For example:
api1-app-service
api2-app-service
website1-app-service
I would like to use the Application Gateway with a…

Mike
- 1,718
- 3
- 30
- 58