Fix bug.
This commit is contained in:
parent
7c589cd6cc
commit
8be89c0f97
|
@ -208,9 +208,7 @@ create)
|
||||||
done
|
done
|
||||||
|
|
||||||
cd ~
|
cd ~
|
||||||
sudo wget http://installer.tp.rulingcom.com/nginx4-5.conf
|
sudo wget http://gitlab.tp.rulingcom.com/erictyl/install_r45_on_ubuntu_1804lts_doc/-/raw/master/http://installer.tp.rulingcom.com/nginx4-5.conf -O $NGINX_ORBIT_SITES/$site_name
|
||||||
sudo cp nginx4-5.conf $NGINX_ORBIT_SITES/$site_name
|
|
||||||
sudo rm nginx4-5.conf
|
|
||||||
sudo perl -pi -e "s/{{ORBIT}}/$site_name/g" $NGINX_ORBIT_SITES/$site_name
|
sudo perl -pi -e "s/{{ORBIT}}/$site_name/g" $NGINX_ORBIT_SITES/$site_name
|
||||||
sudo perl -pi -e "s#{{ORBIT_SITES}}#${ORBIT_SITES}#g" $NGINX_ORBIT_SITES/$site_name
|
sudo perl -pi -e "s#{{ORBIT_SITES}}#${ORBIT_SITES}#g" $NGINX_ORBIT_SITES/$site_name
|
||||||
sudo perl -pi -e "s/{{PORT}}/$PORT/g" $NGINX_ORBIT_SITES/$site_name
|
sudo perl -pi -e "s/{{PORT}}/$PORT/g" $NGINX_ORBIT_SITES/$site_name
|
||||||
|
|
Loading…
Reference in New Issue