use standardized ip retrieval
This commit is contained in:
parent
714320a754
commit
a5f8709fb7
@ -29,9 +29,9 @@ $STD npm run migrate
|
|||||||
msg_ok "Configured Kutt"
|
msg_ok "Configured Kutt"
|
||||||
|
|
||||||
msg_info "Configuring SSL"
|
msg_info "Configuring SSL"
|
||||||
LXCIP=$(hostname -I | awk '{print $1}')
|
import_local_ip
|
||||||
cat <<EOF >/etc/caddy/Caddyfile
|
cat <<EOF >/etc/caddy/Caddyfile
|
||||||
$LXCIP {
|
$LOCAL_IP {
|
||||||
reverse_proxy localhost:3000
|
reverse_proxy localhost:3000
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user