update for pc server

This commit is contained in:
2025-11-24 21:05:08 +01:00
parent cc836f667f
commit 030cfcad9e
2 changed files with 7 additions and 1 deletions

View File

@@ -50,6 +50,12 @@ fi
# 4. Restart Backend
echo "Restarting backend services..."
# Ensure results directory exists for Nginx
if [ ! -d "results" ]; then
mkdir -p results
chmod 755 results
fi
run_compose down
run_compose up -d --build

View File

@@ -48,7 +48,7 @@ server {
# Since we are running backend in docker, we mapped ./results to /results.
# You can alias this location to the local folder on your PC.
location /results/ {
alias /path/to/your/project/testarena/results/;
alias /home/asf/server-services/ASF_tools/asf-cloud-server/testarena/results/;
autoindex on;
}
}