diff --git a/asf-cloud-server/testarena/deploy.sh b/asf-cloud-server/testarena/deploy.sh index 679c471..18cc14f 100644 --- a/asf-cloud-server/testarena/deploy.sh +++ b/asf-cloud-server/testarena/deploy.sh @@ -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 diff --git a/asf-cloud-server/testarena/nginx_config_snippet.conf b/asf-cloud-server/testarena/nginx_config_snippet.conf index 8f8f87a..6110869 100644 --- a/asf-cloud-server/testarena/nginx_config_snippet.conf +++ b/asf-cloud-server/testarena/nginx_config_snippet.conf @@ -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; } }