From 0801fae03d3d85b092b7d7b30aa4eb8e5a226141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Thu, 18 Apr 2024 08:09:56 +0800 Subject: [PATCH] Fix nginx.conf missing semicolon. --- install_orbit_environment.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_orbit_environment.sh b/install_orbit_environment.sh index 501531c..7e95754 100644 --- a/install_orbit_environment.sh +++ b/install_orbit_environment.sh @@ -290,7 +290,7 @@ if [ -z "$(grep 'orbit_sites' nginx.conf)" ]; then sudo sed -i 's/\(include\ \/etc\/nginx\/sites-enabled\/\*\;\)/\1\n include\ \/etc\/nginx\/orbit_sites\/*;/g' nginx.conf fi if [[ "$ubuntu_version" > '22' ]]; then #Use root account prevent reading socket denied - sudo sed -E -i 's/^[# ]*user.*/user root/g' /etc/nginx/nginx.conf + sudo sed -E -i 's/^[# ]*user.*/user root;/g' /etc/nginx/nginx.conf fi cd $org_pwd sudo apt-get install gnupg -y