Skip to content

Commit

Permalink
Update nginx_upgrade.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptopool-builders committed Mar 26, 2020
1 parent d6aced9 commit 90d2ccc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nginx_upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ fi
if [ -f /etc/nginx/conf.d/default.conf ]; then
sudo rm -r /etc/nginx/conf.d/default.conf
fi
if [ -f /etc/nginx/sites-available/default ]; then
sudo rm -r /etc/nginx/sites-available/default
fi
if [ -f /etc/nginx/sites-enabled/default ]; then
sudo rm -r /etc/nginx/sites-enabled/default
fi
if [ -f /etc/nginx/sites-available/default ]; then
sudo rm -r /etc/nginx/sites-available/default
fi

echo -e "$GREEN NGINX upgrade complete...$COL_RESET"
restart_service nginx
Expand Down

0 comments on commit 90d2ccc

Please sign in to comment.