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