Otherwise it seems to always pick up the first block.
It does mean that it now works on https://specialhost but http://specialhost takes me to the wrong backend. I guess I could just put both :443 and :80 on the specialhost entry, and then redirect http to https.
The difference is in that “other stuff” that you originally elided; when you specify your own certificates, Caddy doesn’t change the port for you because it’s not “auto HTTPS” - hence it was serving on a different port.
(See, this is why including the full and complete Caddyfile is always vital!)
Hm, sorry if I’ve ever done that. That’s never the intent. I didn’t mean this as a personal jab at you, either, but I’m taking note next time someone complains that I ask for too much information. (Happens quite often and it irritates people. But I don’t know how we can help them otherwise.)
I hope that’s never your experience here on these forums. I think anyone in IT who cares about their work (or hobby) should be as detail-friendly as possible - you can always skip a few lines of text, but you can’t afford to extrapolate something that was left out!