Application Gateway - With Https Listener

Nitya V 45 Reputation points
2024-08-13T13:16:49.5933333+00:00

I have two app services that I use application gateway and route traffic to using URL Routing.

For example:

  1. api1-app-service
  2. api2-app-service

I use the Application Gateway with a custom domain in front of it, and route the traffic like this:

  1. appgateway-public-ip/d1/explore-> api1-app-service
  2. appgateway-public-ip/d2/explore-> api2-app-service

I have created a http listener and https listener type and routing rul which is path based /d1/-> api1-app-service(backend pool and setting and http listener) /d2/-> api2-app-service(backend pool and setting and https listener)

When I try http://<app gateway ip>/d2/explorer it give 502 which is using https listener

What am I doing wrong

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,048 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.