Skip to content

Commit

Permalink
[CHORE] switch 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
ddongseop committed Aug 12, 2023
1 parent ddb5463 commit 19442d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/umbba-api/switch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fi

echo "[$NOW_TIME] 전환할 Port: $IDLE_PORT"
echo "[$NOW_TIME] Port 전환"
echo "[$NOW_TIME] set \$service_url http://127.0.0.1:${IDLE_PORT};" | sudo tee /etc/nginx/conf.d/service-url.inc
echo "set \$service_url http://127.0.0.1:${IDLE_PORT};" | sudo tee /etc/nginx/conf.d/service-url.inc

PROXY_PORT=$(curl -s http://localhost/profile)
echo "[$NOW_TIME] Nginx Current Proxy Port: $PROXY_PORT"
Expand Down

0 comments on commit 19442d8

Please sign in to comment.