use standardized ip retrieval

This commit is contained in:
Tom Frenzel 2026-01-03 16:26:33 +01:00
parent 714320a754
commit a5f8709fb7
No known key found for this signature in database
GPG Key ID: 02BEE95E635A32FC

View File

@ -29,9 +29,9 @@ $STD npm run migrate
msg_ok "Configured Kutt"
msg_info "Configuring SSL"
LXCIP=$(hostname -I | awk '{print $1}')
import_local_ip
cat <<EOF >/etc/caddy/Caddyfile
$LXCIP {
$LOCAL_IP {
reverse_proxy localhost:3000
}
EOF