From ce184360e08f2adf6749bc14ec1e00e751e4c2fc Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Wed, 23 Aug 2017 11:56:03 -0400 Subject: [PATCH] Correct the location we look for nginx's default site. --- templates/setup-head.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0