Move to hestiaip
This commit is contained in:
@@ -1892,7 +1892,7 @@ fi
|
||||
# Get public IP
|
||||
pub_ip=$ip
|
||||
if [ "$nopublicip" = 'no' ]; then
|
||||
pub_ip=$(curl --ipv4 -s https://ip.hestiacp.com/)
|
||||
pub_ip=$(curl -fsLm5 --retry 2 --ipv4 -H "Simple-Hestiacp: yes" https://hestiaip.brepo.ru/)
|
||||
|
||||
if [ -n "$pub_ip" ] && [ "$pub_ip" != "$ip" ]; then
|
||||
$HESTIA/bin/v-change-sys-ip-nat $ip $pub_ip > /dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user