caddy: add block_non_private_ips snippet

blocks ips not in tailnet or in local network from accessing services
using `important block_non_private_ips` in their caddy config
This commit is contained in:
Nico 2025-08-04 22:13:59 +10:00
parent a37e71055f
commit 7537a1e5b6
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0
8 changed files with 18 additions and 0 deletions

View file

@ -19,6 +19,7 @@
useACMEHost = config.homelab.domain;
extraConfig = ''
reverse_proxy http://localhost:8025
import block_non_private_ips
'';
};
}