BRM
CDCloudflare Developers
•Created by BRM on 7/9/2024 in #pages-help
HTTPS resources redirected to HTTP causing mixed content issues
I'm hosting a simple static Hugo site on Cloudflare Pages and encountering a problem where some resources, like the favicon, are redirected from HTTPS to HTTP. This causes my website to be flagged as not secure.
I can confirm this with curl:
I already have Automatic HTTPS Rewrites enabled.
My SSL/TLS setting is "Flexible". When I switch to "Full", my site stops working. A friend with a similar static Hugo website hosted in the same way doesn't have this issue, so I'm guessing it's not the issue.
I would appreciate help troubleshooting this out.
23 replies