We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6becdee commit 94c5cc7Copy full SHA for 94c5cc7
1 file changed
scripts/start_application.sh
@@ -48,8 +48,7 @@ for i in $(seq 1 $MAX_RETRIES); do
48
mv build/libs_new build/libs
49
50
# Nginx 설정 업데이트
51
- sed -i "s/proxy_pass http:\/\/$CURRENT_CONTAINER:$CURRENT_PORT/proxy_pass http:\/\/$NEW_CONTAINER:$NEW_PORT/" $NGINX_CONF
52
-
+ sed -i "s|proxy_pass http://$CURRENT_CONTAINER:$CURRENT_PORT|proxy_pass http://$NEW_CONTAINER:$NEW_PORT|" $NGINX_CONF
53
54
# Nginx 설정 리로드
55
docker compose exec -T nginx nginx -s reload
0 commit comments