fix nginx conf and arm loc

This commit is contained in:
Henry Whitaker
2023-06-25 05:28:06 +01:00
parent 544a8ada31
commit ea79ce4fb5

View File

@@ -16,7 +16,7 @@ function downloadSpeedtestCli()
if [ $(uname -m) == "x86_64" ]; then
wget https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-x86_64.tgz -O speedtest.tgz > /dev/null
else
wget https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-arm.tgz -O speedtest.tgz > /dev/null
wget https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-aarch64.tgz -O speedtest.tgz > /dev/null
fi
tar zxvf speedtest.tgz > /dev/null
@@ -53,6 +53,9 @@ else
fi
fi
# Copy latest nginx config
cp /defaults/nginx/nginx.conf.sample /config/nginx/nginx.conf
# Copy site files to /config
echo "Copying latest site files to config"
cp -rfT /site/ /config/www/