ls -la /usr/local/openresty/nginx/conf/vhost/*.conf | awk {'print $9'} > /tmp/files;


while read line
do
    cat $line | grep server_name | tr ' ' '\n' | grep -v server_name | grep -v '^$' | grep -v '_;' | sed "s/\;//g"
	
done < /tmp/files


rm -rf /tmp/files;
rm -rf /var/tmp/d.sh