From: Chris Sharp Date: Wed, 23 Aug 2017 15:56:03 +0000 (-0400) Subject: Correct the location we look for nginx's default site. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ce184360e08f2adf6749bc14ec1e00e751e4c2fc;p=contrib%2Fpines%2Fgenasys.git Correct the location we look for nginx's default site. --- diff --git a/templates/setup-head.sh b/templates/setup-head.sh index e8b4df9..7d183dc 100755 --- a/templates/setup-head.sh +++ b/templates/setup-head.sh @@ -168,7 +168,7 @@ service apache2 stop $APT_TOOL install -y nginx ### Setup nginx -if [ -e /etc/nginx/sites-enabled/000-default.conf ] +if [ -e /etc/nginx/sites-enabled/default ] then rm -f /etc/nginx/sites-enabled/default fi