added line to enable nginx config
authorLisa Marie Maginnis <lisam@fsf.org>
Sun, 28 Feb 2016 19:03:59 +0000 (14:03 -0500)
committerLisa Marie Maginnis <lisam@fsf.org>
Sun, 28 Feb 2016 19:03:59 +0000 (14:03 -0500)
scripts/GMG/15_install_gmg.sh

index d3f563d..e5f14bd 100755 (executable)
@@ -22,5 +22,7 @@ sed 's^GMG_SENDER_TOKEN^'$GMG_SENDER'^g' -i $target/etc/mediagoblin-templates/me
 
 sed 's^GMG_PATH_TOKEN^'$GMG_PATH'^g' -i $target/etc/nginx/mediagoblin-common.conf
 
-sed 's^GMG_FQDN_TOKEN^'$fqdn'^g' -i $target/etc/nginx/sites-available/mediagoblin-common.conf
+sed 's^GMG_FQDN_TOKEN^'$fqdn'^g' -i $target/etc/nginx/sites-available/mediagoblin.conf
 
+# enable nginx config
+$ROOTCMD ln -s /etc/nginx/sites-available/mediagoblin.conf /etc/nginx/sites-enabled/mediagoblin.conf