Skip to content

Commit 6cc53e3

Browse files
committed
Adjust to use full FQDN, thanks to @ferow2k!
1 parent 8c4ff83 commit 6cc53e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-add-web-domain-ssl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ $BIN/v-restart-proxy $restart
126126
check_result $? "Proxy restart failed" >/dev/null
127127

128128
if [ ! -z "$UPDATE_HOSTNAME_SSL" ] && [ "$UPDATE_HOSTNAME_SSL" = "yes" ]; then
129-
hostname=$(hostname)
129+
hostname=$(hostname -f)
130130
if [ "$hostname" = "$domain" ]; then
131131
$BIN/v-update-host-certificate $user $domain
132132
fi

0 commit comments

Comments
 (0)