We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c4ff83 commit 6cc53e3Copy full SHA for 6cc53e3
1 file changed
bin/v-add-web-domain-ssl
@@ -126,7 +126,7 @@ $BIN/v-restart-proxy $restart
126
check_result $? "Proxy restart failed" >/dev/null
127
128
if [ ! -z "$UPDATE_HOSTNAME_SSL" ] && [ "$UPDATE_HOSTNAME_SSL" = "yes" ]; then
129
- hostname=$(hostname)
+ hostname=$(hostname -f)
130
if [ "$hostname" = "$domain" ]; then
131
$BIN/v-update-host-certificate $user $domain
132
fi
0 commit comments