diff --git a/vm/pandora_install.sh b/vm/pandora_install.sh index 5f957bb21..2d898c983 100755 --- a/vm/pandora_install.sh +++ b/vm/pandora_install.sh @@ -196,7 +196,10 @@ fi # configure nginx if [ "$NGINX" == "local" ]; then -cp "/srv/pandora/etc/nginx/pandora" "/etc/nginx/sites-available/default" +cp "/srv/pandora/etc/nginx/pandora" "/etc/nginx/sites-available/pandora" +rm /etc/nginx/sites-enabled/default +ln -s ../sites-available/pandora /etc/nginx/sites-enabled/pandora + read -r -d '' GZIP <