Questions tagged [azure-application-gateway]
The azure-application-gateway tag has no usage guidance.
azure-application-gateway
878
questions
17
votes
7
answers
27k
views
Redirect HTTP to HTTPS in Azure Application Gateway
I have configured an Application Gateway (AG) to do SSL termination/offload. The AG is configured to only listen on port 443 for HTTPS connections. Is it possible to redirect HTTP to HTTPS without ...
15
votes
1
answer
9k
views
What is the difference between API Gateway provided by Azure API Management and Azure Application Gateway?
I'm new to Azure and I skimmed through Azure official documentation.
What I would like to understand is the difference and similarities
between the API Gateway provided by Azure API Management and ...
15
votes
4
answers
5k
views
Azure Application Gateway with Service Fabric
Currently I have a Service Fabric cluster with 2 stateless services hosting Asp Web APIs. While creating the cluster also appropriate Azure Load Balancers got created.
Now I would like to add ...
13
votes
2
answers
13k
views
Terraform - How to attach SSL certificate stored in Azure KeyVault to an Application Gateway
I have a Terraform script that create an Azure Key Vault, imports my SSL certificate (3DES .pfx file with a password), and creates an Application Gateway with a HTTP listener. I'm trying to change ...
13
votes
1
answer
16k
views
Attaching SSL certificate to Azure application gateway in Terraform
It's been somewhat long I'm trying to automate the deployment of an application gateway using Terraform but it simply fails with an error message. I have made sure all protocol settings to HTTPS. ...
12
votes
5
answers
12k
views
How to change VNet and Subnet of an existing Azure Application Gateway?
Is it possible to move an already setup app gateway from one subnet to another?
As of now haven't seen any way from the portal to do so.
12
votes
3
answers
16k
views
Custom domain for Azure application gateway
I am trying to create application gateway with custom domain name, I keep getting error saying "cannot have Domain Name Label specified."
I was wondering if I am doing something wrong or it's not ...
12
votes
1
answer
2k
views
What is the proper way to expose an Azure Container Instance that is inside a vnet?
I have an ACI that is running a REST API that needs to be exposed publicly, but needs to access resources inside a vnet.
For some reason, unlike normal VMs, if an ACI is inside a vnet, it cannot have ...
11
votes
5
answers
40k
views
Correlation failed. at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler during OIDC authentication
I am hitting this with the following combination:
Browser incognito mode (Chrome)
Application is behind Azure application gateway (no repro if it isn't). Cookie based affinity is turned OFF (default);...
11
votes
1
answer
12k
views
Assign Static Public Address to Azure Container Instance deployment
Context
Working on a project to deploy a restful API application and seperate TCP service to an Azure Container Instance. The TCP service requires a static Ipv4 address due to legacy reasons.
...
9
votes
1
answer
8k
views
Preserve Client IP address in Azure API Management with Application Gateway scenario
I have Azure Application Gateway and API Management configured in this setup
https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-integrate-internal-vnet-appgateway - ...
9
votes
0
answers
2k
views
Azure Gateway WAF - Diagnostics Issue
I'm trying to setup Azure WAF (v2) on my App Gateway (currently in detection mode first to handle false positive cases), however, I'm seeing this warning:
To view your detection logs, you must have ...
8
votes
5
answers
16k
views
Azure App Gateway V2 cannot be configured with NSG
I have provisioned App Gateway with WAF V2 SKU. Then, I have configured back-end pool to point to WebApp and added IP restrictions to allow only traffic from WAF IP. Then, i am attempting to add NSG ...
8
votes
1
answer
10k
views
Azure Application Gateway WAF blocks common ASP.Net Core Requests
I have configured a Azure Application Gateway + WAF in front of an ASP.Net Core application running on an Azure WebApp.
I have the the default OWASP 3.0 Rules set on and in Prevention mode.
The ...
8
votes
0
answers
1k
views
React app behind application gateway with path based routing
I currently have multiple react based apps. I am trying to put a gateway in front of them so I have have www.url.com/one point to one app, www.url.com/two point to another. I can build the apps and ...
7
votes
4
answers
11k
views
Azure WebApp Static Outbound IP
I am trying to solve a problem. I have to access APIs that are hosted on my on premises server (on-prem) from Azure hosted Web API.
The problem is that my on-prem server only allows white listed IPs....
7
votes
1
answer
3k
views
Azure AD Redirect URL Using Application Gateway
We have an ASP Core 2.0 App working nicely with Azure AD on the private network. However, we've been playing around with the Azure Application Gateway, investigating the possibility of allowing access ...
7
votes
3
answers
32k
views
Azure Application Gateway hitting 504 Gateway timeout randomly while doing JMeter load test
I have 1 application gateway which having 2 backends (Azure VM) which is hosting ASP CORE REST API with IIS. And both is using port 80 to communicate.
Everything is working fine with manual test until ...
6
votes
2
answers
20k
views
Azure Application Gateway error 502 when using application gateway
I followed the docs here https://learn.microsoft.com/en-us/azure/application-gateway/application-gateway-create-multisite-portal but still getting the error :
Azure Application Gateway error 502 - ...
6
votes
2
answers
5k
views
Azure Application gateway - is there any reason to keep Azure firewall BEHIND?
I have Azure Application gateway in front of Azure API management and could see that in most of the scenarios available on the Internet has firewall in between the Azure Application gateway and Azure ...
6
votes
1
answer
4k
views
should I choose azure application gateway or load balancer or front door or traffic manager?
I have a SaaS web app developed with Angular 8 and Asp.net Core Web API. I have deployed web api to a azure web app and deployed angular front-end web app to another azure web app as well.
The users ...
6
votes
3
answers
5k
views
Why should I use the Service Fabric Reverse Proxy instead of the Azure App Gateway to talk to SF Cluster?
It's a long question and there are trade-offs, I'm sure. The documentation in this area:
Doesn't give me enough to answer the question above confidently.
So, they say:
"Azure Application Gateway ...
6
votes
3
answers
5k
views
Create azure application gateway with static private ip address via terraform
I can't find a way to create an application gateway via terraform with private IP without manually inserting hard coded IP private address.
I tried:
Create a private IP in the application gateway ...
6
votes
3
answers
3k
views
Azure Application Gateway with App Service
Requirement I have -
I want to do redirection like this. I have multiple App service that will be running and based on the url I want to do redirection to the proper one.
Something like this -
...
6
votes
1
answer
3k
views
How to properly configure Azure Application Gateway Rewrite URL rule?
We are using azure application gateway to route requests from host/client to the specific client app (.NET Core). This way client1 is routed to server1/client1 and client2 is routed to server2/client2 ...
6
votes
2
answers
4k
views
Azure application gateway with oauth removes token
We're currently struggling with an issue in our azure environment. In our current setup we have an application gateway connecting to 2 application services.
1 app service is using basic auth. Nothing ...
6
votes
1
answer
5k
views
Use App Service Certificate with Azure Application Gateway
Created an app service certificate in Azure to enable SSL for Application Gateway.
Had already configured SSL on the Application Gateway with a self-signed .pfx certificate to test the functionality ...
5
votes
2
answers
8k
views
Is it OK to remove Nginx when using Azure application gateway?
I have a Web app for docker currently running django with gunicorn as wsgi server and Nginx as reverse proxy. I am not serving any static assets via Nginx and the SSL is taken care by Azure.
So my ...
5
votes
2
answers
15k
views
Application Gateway restrict by IP
We have a cluster of VM in azure exposing some internal API's. To do more secure we are using Application Gateway to have ssl offload. But also we would like to restrict the external IP's that can ...
5
votes
2
answers
6k
views
Static IP Address in Azure Application Gateway
Not sure if I understood it correctly , but why would a static IP address be not supported in an application gateway. Isn't that a constraint on it ?
5
votes
5
answers
5k
views
Azure Application Gateway : Backend server certificate expired. Please upload a valid certificate
We have an Azure Application Gateway V2 setup with WAF feature enabled. We ran into trouble when suddenly, the health of all our backend pools (3 in our case) started showing unhealthy and the error ...
5
votes
2
answers
37k
views
Why do I see 403 forbidden in Azure application gateway?
The error I see when accessing https://www.example.com regardless of whether I have a listener (443) and rule is:
403 - Forbidden
You don't have permission to access / on this server.
If I add a ...
5
votes
2
answers
12k
views
Issue within certification chain using azure application gateway
I'm using an Azure Application Gateway v2 to route traffic to a backendpool containing VMs running some docker container hosting an aspnet core webapi. The application is listeing in port 443.
The ...
5
votes
1
answer
5k
views
Configuring Application Gateway with API management Azure
I want to establish an connection between API managment and Application Gateway in Azure.
Please can someone provide step by step solution.
5
votes
3
answers
2k
views
AKS AGIC Application Gateway Ingress Controller Not Deploying
I created a new cluster, created an application gateway and then installed AGIC per the tutorial. I then configured the ingress controller with the following config:
# This file contains the essential ...
5
votes
1
answer
5k
views
Application Gateway 502 error when configuring it for Azure Web App
Scenario:
Configured Azure Application Gateway to route traffic to different Azure Web Apps to leverage the Web Application Firewall (WAF).
Initial configuration worked fine except that the final ...
5
votes
1
answer
6k
views
Can Azure Application gateway cookie be replaced by application cookie?
I have a VMSS with multiple instances that have a java application deployed in it. The VMSS is connected to an application gateway. The gateway have session affinity enabled.
Is it possible to ...
5
votes
1
answer
515
views
When form submission is done between 2 VM's in Application gateway it shows 502 error
I have hosted a site in two VM's and added it in Application Gateway back end pool. We have a form submit which will do DB update and a confirmation page will be shown.
If both the server is up. The ...
5
votes
0
answers
449
views
Rolling Website Updates / Azure Application Gateway
I'm trying to configure rolling website updates to an IIS web farm to enable zero downtime deployments. I can't identify a reasonable way to stop traffic being routed from Application Gateway to a ...
5
votes
2
answers
2k
views
Is it possible to add a new listener, backend address pool, and request routing rule(s) to an existing Azure Application Gateway using Terraform?
My use-case is multiple AppService apps with different lifecycles sitting behind a single Application Gateway. I'd like to add a new listener, new multi-site routing rules, and a new backend pool ...
4
votes
2
answers
20k
views
How to enable CORS on AZURE application gateway
how can I enable CORS on the Azure application gateway ?
I have a signalhub running on
Azure kubernetes service as a
Dapr app.
The app has All .net cors policies setup correctly, issue seems to be ...
4
votes
2
answers
9k
views
Azure Front Door in the front of Application Gateway
I've deployed Azure Front Door in the front of Application Gateway.
Now I want to route all traffics through Front Door and restrict direct access to Application Gateway's public IP address.
How to do ...
4
votes
2
answers
14k
views
How to get a certificate for Azure Application Gateway HTTPS listener
I'm trying to set up an end-to-end SSL connection using Application Gateway to communicate to an AppService instance. The AppService instance has a custom domain with SSL.
Now I would like to secure ...
4
votes
2
answers
6k
views
Azure network security group and Application Gateway
I have the next azure setup:
Application gateway balancer with it's own vnet .
Two vms in Application gateway backend pool which have their own vnet and a network security group applied to the vms.
...
4
votes
1
answer
2k
views
Application Gateway Ingress Controller only works with root path /
I have deployed the standard aspnet app from Microsoft, from the following YAML:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: microservicesapp
annotations:
kubernetes.io/...
4
votes
1
answer
7k
views
How to whitelist an ip address in Azure WAF
I have an Azure Application Gateway Web Application Firewall using the OWASP 3.0 ruleset. I created a custom policy so I could create a custom rule which simply allows traffic if it's from a specific ...
4
votes
1
answer
4k
views
Azure App Service with WAF
I'm looking for some Azure security best practice advice. I've seen some articles around on how to do it, but not if its necessarily required.
I have a customer who would like to move to Azure and ...
4
votes
2
answers
2k
views
Azure Multiple Public IPs on a Virtual Machine Scale Set with Resource Manager
We try to migrate our Platform from classical IIS hosting to a service fabric micro service architecture. So fare we learned that a service fabric lives in a virtual machine scale set and uses Load ...
4
votes
1
answer
4k
views
Azure Application Gateway App Service using Active Directory redirecting to signin-oidc
I have put my app behind azure application gateway. I can access my app using the application gateway through this url: https://myapps.westus.cloudapp.azure.com/myapp
My app requires azure ad so I ...
4
votes
1
answer
3k
views
Azure Application Gateway forwarding "/*" to Backend Pool
I have an Azure Application Gateway set up with Path-Based routing to route between two different Backend Pools. I also have Application Insights configured on one of the Pools, which I will come back ...