title: How to redirect to HTTPS in Azure CDN
body: <p>I want to serve a PWA using Static websites in Azure Storage and Azure CDN.
  I need to redirect every HTTP request to HTTPS.
  I followed the official <a href="https://docs.microsoft.com/en-us/azure/storage/blobs/storage-https-custom-domain-cdn#http-to-https-redirection" rel="nofollow noreferrer">documentation</a> and waited more than 4 hours but it's not working. Do I need a custom domain for the rule to work? </p>
  
  <p>When SCHEMA = HTTP
  URL Redirect (301)
  Source: (.*)
  Destination: <a href="https://%" rel="nofollow noreferrer">https://%</a>{host}/$1</p>