Update vst-install-debian.sh

This commit is contained in:
myvesta 2020-07-26 03:11:36 +02:00 committed by GitHub
commit 6367603158
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1410,7 +1410,7 @@ if [ "$iptables" = 'yes' ]; then
fi
# Get public ip
pub_ip=$(curl -s https://scripts.myvestacp.com/ip.php)
pub_ip=$(curl -4 -s https://scripts.myvestacp.com/ip.php)
if [ ! -z "$pub_ip" ] && [ "$pub_ip" != "$ip" ]; then
$VESTA/bin/v-change-sys-ip-nat $ip $pub_ip