added line to enable nginx config
[fai-configs.git] / 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