Application Gateway - HTTPS Redirects

jfaz11 51 Reputation points
2020-09-29T00:42:44.853+00:00

We are currently evaluating putting all our sites in one of our regions behind and AppGW with the Azure WAF. A problem that I have run into is all our sites redirect to HTTPS. I have it working to the point where I have to type in the HTTPS if I don't then I get a page can't be displayed.

In the rules, I've tried to use a HTTP listener and then the Backend use a HTTPS target listener but it doesn't redirect. I also tried to put the https://mysite.com in the external site target URL but that didn't work either. Also tried an HTTPS listener and a HTTPS rule for the HTTP setting.

Any suggestions would be greatly appreciated.
Thanks

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

1 answer

Sort by: Most helpful
  1. jfaz11 51 Reputation points
    2020-10-06T14:30:23.11+00:00

    I am still facing this issue. The problem I am having is if I got to mysite.com the page won't come up. I have to type in the https://mysite.com in order for the site to work. I have tried to use a listener on port 80 and then the backend redirect to a HTTPS listener but it doesn't seem to work. I have also tried both 80/443 as the listener and the backend redirect to an external site using https://mysite.com but that didn't work either.

    No comments