adjust ports

pull/703/head
mike dupont 4 months ago
parent 86fae9fa33
commit 266bb91b95

@ -9,6 +9,6 @@ server {
add_header X-XSS-Protection "1; mode=block" always; add_header X-XSS-Protection "1; mode=block" always;
location / { location / {
proxy_pass http://127.0.0.1:5474; proxy_pass http://127.0.0.1:8000;
} }
} }

@ -86,11 +86,11 @@ systemctl status swarms-docker || echo oops2
# now after swarms is up, we restart nginx # now after swarms is up, we restart nginx
HOST="localhost" HOST="localhost"
PORT=5474 PORT=8000
while ! nc -z $HOST $PORT; do while ! nc -z $HOST $PORT; do
sleep 1 sleep 1
echo -n "." echo -n "."
done done
echo "Port ${PORT} is now open!" echo "Port ${PORT} is now open!"
osystemctl restart nginx systemctl restart nginx

Loading…
Cancel
Save