This commit is contained in:
BoHung Chiu 2022-08-24 16:28:35 +08:00
parent 7c589cd6cc
commit 8be89c0f97
1 changed files with 1 additions and 3 deletions

View File

@ -208,9 +208,7 @@ create)
done
cd ~
sudo wget http://installer.tp.rulingcom.com/nginx4-5.conf
sudo cp nginx4-5.conf $NGINX_ORBIT_SITES/$site_name
sudo rm 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 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/{{PORT}}/$PORT/g" $NGINX_ORBIT_SITES/$site_name