Correct the location we look for nginx's default site.
authorChris Sharp <csharp@georgialibraries.org>
Wed, 23 Aug 2017 15:56:03 +0000 (11:56 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 23 Aug 2017 15:56:03 +0000 (11:56 -0400)
templates/setup-head.sh

index e8b4df9..7d183dc 100755 (executable)
@@ -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