Add more missing sudos

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-12-23 04:36:33 -07:00 committed by GitHub
parent 1c8ea3f637
commit dbdd308ffb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
if [ "${ip_pinning}" = '0' ]; then
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/ipv4_1://g' /etc/nginx/conf.d/sites_default.conf
sudo sed -i 's/ipv6_1/::/g' /etc/nginx/conf.d/sites_default.conf
fi