Browse Source

auto push via Ubuntu

eallion 5 years ago
parent
commit
bf57a776d8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vhost.sh

+ 1 - 1
vhost.sh

@@ -512,7 +512,7 @@ What Are You Doing?
     [ -z "$(grep 'Listen 443' ${apache_install_dir}/conf/httpd.conf)" ] && sed -i "s@Listen 80@&\nListen 443@" ${apache_install_dir}/conf/httpd.conf
     [ -z "$(grep 'ServerName 0.0.0.0:443' ${apache_install_dir}/conf/httpd.conf)" ] && sed -i "s@ServerName 0.0.0.0:80@&\nServerName 0.0.0.0:443@" ${apache_install_dir}/conf/httpd.conf
   else
-    Nginx_conf="listen 80;\n listen [::]:80;"
+    Nginx_conf="listen 80;\n  listen [::]:80;"
   fi
 }