Skip to content

Commit 94c5cc7

Browse files
committed
feat: codedeploy script 이스케이프 수정
1 parent 6becdee commit 94c5cc7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

scripts/start_application.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ for i in $(seq 1 $MAX_RETRIES); do
4848
mv build/libs_new build/libs
4949

5050
# Nginx 설정 업데이트
51-
sed -i "s/proxy_pass http:\/\/$CURRENT_CONTAINER:$CURRENT_PORT/proxy_pass http:\/\/$NEW_CONTAINER:$NEW_PORT/" $NGINX_CONF
52-
51+
sed -i "s|proxy_pass http://$CURRENT_CONTAINER:$CURRENT_PORT|proxy_pass http://$NEW_CONTAINER:$NEW_PORT|" $NGINX_CONF
5352

5453
# Nginx 설정 리로드
5554
docker compose exec -T nginx nginx -s reload

0 commit comments

Comments
 (0)