explain what you are trying to do,
Make caddy serve only 1 specific interface/IP
show what you have already tried,
tried using bind, but that seems to be only per site
Baically even i in DNS have www.something.com pointing to IP 1.1.1.1, I don’t want caddy to respond at all.
Only on whatever hosts thats defined where DNS points to IP 1.1.1.2.
As of now, if I try to browse to www.something.com it tells me that caddy isnt serving www.something.com on this interface.
So more a server/service level bind.
You were on the money with bind. Unfortunately there’s no global equivalent of the directive that I know of. You’ll need to specify it for each site you want to bind.
Ok Was hoping there was a bind option to add to the startup of caddy (systemctl) or so.
If nobody else know of this, then maybe that should be a feature request