From 8be89c0f974cf456fea9e9f726c84b702b748f70 Mon Sep 17 00:00:00 2001 From: bohung Date: Wed, 24 Aug 2022 16:28:35 +0800 Subject: [PATCH] Fix bug. --- orbit_service.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/orbit_service.sh b/orbit_service.sh index 7e23b03..c77fbba 100644 --- a/orbit_service.sh +++ b/orbit_service.sh @@ -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