Add more missing sudos
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
1c8ea3f637
commit
dbdd308ffb
4
setup.sh
4
setup.sh
@ -137,6 +137,6 @@ unpriv curl -s https://raw.githubusercontent.com/TommyTran732/NGINX-Configs/main
|
|||||||
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/NGINX-Configs/main/etc/nginx/snippets/universal_paths.conf | sudo tee /etc/nginx/snippets/universal_paths.conf > /dev/null
|
unpriv curl -s https://raw.githubusercontent.com/TommyTran732/NGINX-Configs/main/etc/nginx/snippets/universal_paths.conf | sudo tee /etc/nginx/snippets/universal_paths.conf > /dev/null
|
||||||
|
|
||||||
if [ "${ip_pinning}" = '0' ]; then
|
if [ "${ip_pinning}" = '0' ]; then
|
||||||
sed -i 's/ipv4_1://g' /etc/nginx/conf.d/sites_default.conf
|
sudo sed -i 's/ipv4_1://g' /etc/nginx/conf.d/sites_default.conf
|
||||||
sed -i 's/ipv6_1/::/g' /etc/nginx/conf.d/sites_default.conf
|
sudo sed -i 's/ipv6_1/::/g' /etc/nginx/conf.d/sites_default.conf
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user