From 266bb91b955b83a62ff87b8c63b19ce8dec3adee Mon Sep 17 00:00:00 2001 From: mike dupont Date: Thu, 26 Dec 2024 12:44:29 -0500 Subject: [PATCH] adjust ports --- api/nginx/site.conf | 2 +- api/rundocker.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/nginx/site.conf b/api/nginx/site.conf index 5ec4d84b..6fa74cad 100644 --- a/api/nginx/site.conf +++ b/api/nginx/site.conf @@ -9,6 +9,6 @@ server { add_header X-XSS-Protection "1; mode=block" always; location / { - proxy_pass http://127.0.0.1:5474; + proxy_pass http://127.0.0.1:8000; } } diff --git a/api/rundocker.sh b/api/rundocker.sh index 3db8c145..b209c2fe 100644 --- a/api/rundocker.sh +++ b/api/rundocker.sh @@ -86,11 +86,11 @@ systemctl status swarms-docker || echo oops2 # now after swarms is up, we restart nginx HOST="localhost" -PORT=5474 +PORT=8000 while ! nc -z $HOST $PORT; do sleep 1 echo -n "." done echo "Port ${PORT} is now open!" -osystemctl restart nginx +systemctl restart nginx