From 19442d83e1772b991c7cac841c4773b46b4ae1f4 Mon Sep 17 00:00:00 2001 From: ddongseop Date: Sun, 13 Aug 2023 00:38:45 +0900 Subject: [PATCH] =?UTF-8?q?[CHORE]=20switch=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/umbba-api/switch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/umbba-api/switch.sh b/scripts/umbba-api/switch.sh index 31150cdd..771336e0 100644 --- a/scripts/umbba-api/switch.sh +++ b/scripts/umbba-api/switch.sh @@ -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"