Sorry for ditching the template, but I’m more looking for a hypothetical rather than an actual problem I’m facing. (Perhaps I’m even in the wrong forum category, I apologize.)
With Caddy, is it possible to run 2 separate services on port 443? For example, I want to run websites over https over port 443, but I also want to run a specific TCP service (that happens to not use any encryption) on that same port.
So, is it possible (natively or alternatively by writing an extension) to differentiate between https and [custom service] traffic, given I already have code to tell the 2 apart, and still make use the convenience of the Caddy configuration?
I hope the question makes sense.