locked
Azure CDN rule engine redirecting too many times (ERR_TOO_MANY_REDIRECTS) RRS feed

  • Question

  •  <match.request-scheme value="http">
          <!--AndIf-->
          <match.host value="sub.domain.com">
            <feature.url-redirect code="301" pattern="/809D837/lbprod/(.*)" value="https://sub.domain.com/$1 " />
          </match.host>
        </match.request-scheme>
    I have followed this guide to set up HTTP to HTTPS redirect rule in Azure CDN ( Verizon premium)

    https://docs.microsoft.com/en-us/azure/storage/blobs/storage-https-custom-domain-cdn


    Getting the following error in the browser:

    This page isn’t working

    sub.domain.com redirected you too many times.

    • Try clearing your cookies.
    ERR_TOO_MANY_REDIRECTS


    ANY SUGGESTION PLEASE?

    • Edited by AvroAhmed Friday, November 16, 2018 5:23 AM grammarly error
    Friday, November 16, 2018 5:20 AM

All replies

  • is your source azure blob storage or something else? Some applications have issues with HTTP to HTTPS redirects, and you need to change some of your applicaiton configurations to accept these requests. 
    Friday, November 16, 2018 11:15 PM
  • I have written an Article on this which you might find helpfull

    https://medium.com/@chrisedrego/how-to-avoid-err-too-many-redirects-in-the-case-of-azure-cdn-http-to-https-redirect-rule-b5af83159ade

    Thursday, September 5, 2019 9:02 PM