update for pc server
This commit is contained in:
@@ -50,6 +50,12 @@ fi
|
|||||||
|
|
||||||
# 4. Restart Backend
|
# 4. Restart Backend
|
||||||
echo "Restarting backend services..."
|
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 down
|
||||||
run_compose up -d --build
|
run_compose up -d --build
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ server {
|
|||||||
# Since we are running backend in docker, we mapped ./results to /results.
|
# Since we are running backend in docker, we mapped ./results to /results.
|
||||||
# You can alias this location to the local folder on your PC.
|
# You can alias this location to the local folder on your PC.
|
||||||
location /results/ {
|
location /results/ {
|
||||||
alias /path/to/your/project/testarena/results/;
|
alias /home/asf/server-services/ASF_tools/asf-cloud-server/testarena/results/;
|
||||||
autoindex on;
|
autoindex on;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user