It's probably due to this script tag:
<script>if (window.location.protocol == "https:")
window.location.href = "http:" + window.location.href.substring(window.location.protocol.length);
</script>But why? Genuinely curious, is there a real reason why this might be done?
Honestly I do not remember at all why I put in that script tag. It was something to do with github-pages not supporting HTTPS properly in the past, the details escape me. I should probably remove it
May be he hates https :)
Re:How an Optimizing Compiler Works
by Sohcahtoa82 on Monday November 11, 2019 @05:41PM
(#21509710)
I'm flabbergasted as to why someone would ever think they need to do this.
Especially since the page loads just fine. It's not like it's relying on accessing some 3rd party resource that's only accessible via HTTP.
When I used HTTPS, the page loaded fine, but then reloaded itself using HTTP, but didn't loop after that.
OP, you may want to look into figuring out why your page reloads using HTTP after loading just fine with HTTPS.