I’m trying to connect an HTTP custom web service to be fronted as HTTPS on Cloudflare but not sure how to configure it.
I have a web host, with two web services:
- nginx with HTTP (80) and HTTPS (443), using Let’s Encrypt cert, working perfectly
- a custom web service with just HTTP (8443) and no HTTPS capabilities ← this doesn’t work
I need HTTPS on the custom web service. My Cloudflare TLS is set to “flexible” and to redirect all HTTP traffic to HTTPS. However, Cloudflare assumes that due to the port 8443 the service would have TLS.
Sending a POST query to Cloudflare on 8443 just gives me an error
HTTP/1.1 525 Origin SSL Handshake Error.
How can I get, on top of my existing 80/443 services, a new web service on the same host (any port, doesn’t have to be 8443) which Cloudflare serves over HTTPS while my service is just via HTTP.