3 ms·
It's really opinionated about it though. I still don't know how to stop it from trying to get certificates for specific hostnames. It seems to work with everyth
by viraptor 2y ago
It's really opinionated about it though. I still don't know how to stop it from trying to get certificates for specific hostnames. It seems to work with everything auto, or nothing at all.
- tracker1 2y agoDefine the host as http://hostname http://hostname in the config instead of just hostname and it will do only http for that config. You can have a separate https config that's is different as well.
- JeremyNT 2y ago> It's really opinionated about it though. That's its value really. It has the defaults you usually want with minimal boilerplate. If you need/want something more complex it's not necessarily the right tool any more. I say this not as any kind of dig against Caddy but I feel like the entire value proposition is that its default configuration covers the 90% case so well. Sometimes being easy to use with good defaults goes a really long way.
- francislavoie 2y agoHere's the relevant docs: https://caddyserver.com/docs/caddyfile/concepts#addresses https://caddyserver.com/docs/caddyfile/concepts#addresses