|
@@ -38,7 +38,7 @@ getVirtualHosts() {
|
|
continue
|
|
continue
|
|
fi
|
|
fi
|
|
for hostname in $linea;do
|
|
for hostname in $linea;do
|
|
- if [ $hostname != "server_name" ];then
|
|
|
|
|
|
+ if [ $hostname != "server_name" ] && [ $hostname != "localhost" ];then
|
|
hostnames[$cont]=$(echo "$hostname" | sed 's/;//g')
|
|
hostnames[$cont]=$(echo "$hostname" | sed 's/;//g')
|
|
cont=$((cont+1))
|
|
cont=$((cont+1))
|
|
fi
|
|
fi
|