configurations/scripts/nact.sh

9 lines
181 B
Bash
Raw Normal View History

2021-05-01 15:13:49 -04:00
# Activate Nginx Server Blocks
if [ $# -eq 0 ]; then
echo "No arguments provided"
exit 1
fi
sudo ln -s /etc/nginx/sites-available/$1.conf /etc/nginx/sites-enabled/$1.conf