I'm trying to use Hitch to add https support for one old project with own http server written in C. The Hitch itself is working, but is there any way how to handle, when user try to use http?
E.g. I have the hitch on port 8443.
If I use https:\\1.2.3.4:8443 it works.
But when I write http:\\1.2.3.4:8443 (or just 1.2.3.4:8443) browser doesn't connect.
I know that Hitch is just "dumb" proxy and it doesn't resolve protocols. So is there any way how to achieve this? Or maybe another proxy with similar functionality? I tried also stunnel, but it's the same. I'm using Debian 10.