Skip to content

Commit

Permalink
chore: fix switch server port script (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinsu4755 authored Jul 15, 2023
1 parent 27fcf64 commit 5fcda8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/switch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ else
exit 1
fi

echo ">> \$service_url 에 http://127.0.0.1:${TARGET_PORT} 를 연결합니다" | tee /home/ubuntu/service_url.inc
echo ">> \$service_url 에 http://127.0.0.1:${TARGET_PORT} 를 연결합니다"
echo "set \$service_url http://127.0.0.1:${TARGET_PORT};" | tee /home/ubuntu/service_url.inc
echo ">> 현재 Nginx proxies to ${TARGET_PORT}"

sudo service nginx reload
Expand Down

0 comments on commit 5fcda8a

Please sign in to comment.