fix(homelab)!: use traefik middleware to restrict WAN access

This commit is contained in:
2025-12-27 23:29:35 -08:00
parent 13e61322a0
commit d1b81ce0db
11 changed files with 118 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -e
HOST="$1"
if [ -z "$HOST" ]; then
echo "Usage: $0 <ip-or-hostname>"
exit 1
fi
ssh "$HOST" "cd ~/dotfiles && git pull && sudo nixos-rebuild switch --flake ~/dotfiles/nix/homelab --impure"