File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -61,8 +61,8 @@ sudo cp $CURRENT_DIR/index.html.template $WEB_DIR/$SITE_DIR/index.html
6161sudo $SED -i " s/SITE/$DOMAIN /g" $WEB_DIR /$SITE_DIR /index.html
6262sudo chown vagrant:vagrant $WEB_DIR /$SITE_DIR /index.html
6363
64+ # ## create nginx virtual host
6465SITE=(m.$DOMAIN agent.$DOMAIN imc.$DOMAIN )
65-
6666for a in " ${SITE[@]} " ; do
6767 CONFIGM=$NGINX_CONFIG /$a .conf
6868 sudo cp $CURRENT_DIR /virtual_host.template $CONFIGM
@@ -85,14 +85,10 @@ for a in "${SITE[@]}"; do
8585 sudo chown vagrant:vagrant $WEB_DIR /$a /index.html
8686done
8787
88-
89-
90-
9188# ## create mysql database
9289# echo -e $"create mysql database core--$DOMAIN start \n"
9390# sh /home/vagrant/sync/shell/create_nginx_vhost/mysql.sh "core"$prefix
9491
95-
9692MYSQL_BIN=" /usr/local/mysql/bin/mysql"
9793MYSQL_ROOT=" stars"
9894MYSQL_PASS=" 123456"
You can’t perform that action at this time.
0 commit comments