From ea79ce4fb5a1f377bb79206a3f3c03a769a5dde9 Mon Sep 17 00:00:00 2001 From: Henry Whitaker Date: Sun, 25 Jun 2023 05:28:06 +0100 Subject: [PATCH] fix nginx conf and arm loc --- docker/conf/etc/cont-init.d/50-speedtest | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/conf/etc/cont-init.d/50-speedtest b/docker/conf/etc/cont-init.d/50-speedtest index 9d42f252..dc4c5078 100644 --- a/docker/conf/etc/cont-init.d/50-speedtest +++ b/docker/conf/etc/cont-init.d/50-speedtest @@ -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/