I’m considering a new static Web App to be hosted on CF Pages. This Web App needs to make API calls to an HTTP endpoint (not HTTPS). We have no problems hosting the Web App itself as HTTPS but still need to access a HTTP-only resource.
(That resource will be on the same LAN as user’s browser so CORS should not be an issue)
Any issues here? I ask as some other hosts (e.g. Netlify) force all connections to be HTTPS without exception.
You may find more information about Mixed Content in the following page: https://support.cloudflare.com/hc/en-us/articles/200170476-Troubleshooting-mixed-content-errors
In my case I actually need to used mixed content (rather than avoid it). It appears that Pages can support this, but not 100% sure. Will need to spin up a test site to confirm.
Hi there @Autodog! Also have a very niche scenario where we need to be able to support HTTP mixed content, did you ever find a solution for CF Pages or find a decent alternative that supports HTTP? Thanks
Ah no worries. I’m currently eyeing GH Pages since it seems to allow HTTP for custom domains, but seems like you need to use an Action to build it each time. Thank you!
Cloudflare Pages doesn’t support HTTP requests from HTTPS sites. Consider using a different host or proxy the request. example like github and netlify.