|
@@ -126,7 +126,7 @@ $BIN/v-restart-proxy $restart
|
|
|
check_result $? "Proxy restart failed" >/dev/null
|
|
check_result $? "Proxy restart failed" >/dev/null
|
|
|
|
|
|
|
|
if [ ! -z "$UPDATE_HOSTNAME_SSL" ] && [ "$UPDATE_HOSTNAME_SSL" = "yes" ]; then
|
|
if [ ! -z "$UPDATE_HOSTNAME_SSL" ] && [ "$UPDATE_HOSTNAME_SSL" = "yes" ]; then
|
|
|
- hostname=$(hostname)
|
|
|
|
|
|
|
+ hostname=$(hostname -f)
|
|
|
if [ "$hostname" = "$domain" ]; then
|
|
if [ "$hostname" = "$domain" ]; then
|
|
|
$BIN/v-update-host-certificate $user $domain
|
|
$BIN/v-update-host-certificate $user $domain
|
|
|
fi
|
|
fi
|