Flexible SSL page rule fails - request throws Error 525

I have a host running a docker container exposing port 8443. The service running in the container is not capable (yet) of doing SSL. If I do an http connection to the host directly by IP (i.e. http://x.x.x.x:8443) it all works fine. I’d like to serve this through Cloudflare using SSL, but the base domain is using FULL SSL and I don’t want to change that.

So I’ve set up a proxied (orange cloud) subdomain record (sub.example.com) pointing to the host and created a page rule that looks like:


with the SSL set to Flexible.

My understanding is that Flexible should allow an SSL connection between the browser and CF, with CF connecting to the host via http.

However, when I try to connect to https://sub.example.com:8443 CF is throwing an Error 525 page at me.

Am I missing something?

1 Like

That is correct but applies AFAIK only to the standard port 443.

That is consistent with what I am seeing. Unfortunately.

Thanks for clarifying.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.