Share via

Application Gateway - With Https Listener

NityaVishwanathan-6321 230 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.


Your answer

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