Skip to content

Commit

Permalink
fix : deploy.sh 수정
Browse files Browse the repository at this point in the history
* $ 없어서 수정
  • Loading branch information
khw3754 committed Feb 5, 2024
1 parent 8e9bb02 commit 8726a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ docker run -v /home/hyung/logs:/catchy-tape/logs -d -p $WEB_SERVER_TARGET_PORT:3

# 2 nginx 포트 설정 변경 후 reload
NGINX_CONFIG="/etc/nginx/nginx.conf"
sed -i 's/WEB_SERVER_STOP_PORT/WEB_SERVER_TARGET_PORT/' $NGINX_CONFIG
sed -i "s/$WEB_SERVER_STOP_PORT/$WEB_SERVER_TARGET_PORT/" $NGINX_CONFIG
nginx -s reload

# 3 원래 서버 종료 & 삭제
Expand Down

0 comments on commit 8726a53

Please sign in to comment.