File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1518,7 +1518,7 @@ if [ "$iptables" = 'yes' ]; then
15181518fi
15191519
15201520# Get public ip
1521- pub_ip=$( curl --ipv4 -s https://www .hestiacp.com/what-is-my-ip /)
1521+ pub_ip=$( curl --ipv4 -s https://ip .hestiacp.com/)
15221522
15231523if [ ! -z " $pub_ip " ] && [ " $pub_ip " != " $ip " ]; then
15241524 $HESTIA /bin/v-change-sys-ip-nat $ip $pub_ip > /dev/null 2>&1
Original file line number Diff line number Diff line change @@ -1447,7 +1447,7 @@ if [ "$iptables" = 'yes' ]; then
14471447fi
14481448
14491449# Get public IP
1450- pub_ip=$( curl --ipv4 -s https://www .hestiacp.com/what-is-my-ip /)
1450+ pub_ip=$( curl --ipv4 -s https://ip .hestiacp.com/)
14511451if [ ! -z " $pub_ip " ] && [ " $pub_ip " != " $ip " ]; then
14521452 echo " $HESTIA /bin/v-update-sys-ip" >> /etc/rc.local
14531453 $HESTIA /bin/v-change-sys-ip-nat $ip $pub_ip > /dev/null 2>&1
You can’t perform that action at this time.
0 commit comments