Fix nginx.conf missing semicolon.
This commit is contained in:
parent
9f076ee944
commit
0801fae03d
|
@ -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
|
sudo sed -i 's/\(include\ \/etc\/nginx\/sites-enabled\/\*\;\)/\1\n include\ \/etc\/nginx\/orbit_sites\/*;/g' nginx.conf
|
||||||
fi
|
fi
|
||||||
if [[ "$ubuntu_version" > '22' ]]; then #Use root account prevent reading socket denied
|
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
|
fi
|
||||||
cd $org_pwd
|
cd $org_pwd
|
||||||
sudo apt-get install gnupg -y
|
sudo apt-get install gnupg -y
|
||||||
|
|
Loading…
Reference in New Issue