title: Can there be a redirect to a foreign domain while suing enforced https?
body: <p>I am using guthub pages to host a simple website with a custom domain. To manage the the DNS I am using CloudFlare.</p>
  
  <p>I had pages rules setup on CloudFlare for forwarding to my google drive file:</p>
  
  <pre><code>example.com/pdf Foreward rule code 301 https://drive.google.com/file/d/ZZZZZZZZZZZZZZZZZZZ
  </code></pre>
  
  <p>A while back I enabled HTTPS for my custom domain. Domain is assigned to the guthub page using CNAME and on the github settings page I have enabled <code>Forced HTTPS</code> </p>
  
  <p>I only recently noticed my short links to the google drive files were down. </p>
  
  <p>Is this due to HTTPS? Can replicate forwarding to foreign domain effect without compromising on HTTPS?</p>