fix: bypass nginx and map gateway directly to 8281

This commit is contained in:
jade
2026-07-24 17:47:41 +09:00
parent 05a242e5de
commit d7b80a644c
2 changed files with 3 additions and 11 deletions

View File

@@ -66,16 +66,7 @@ jobs:
# 4.5. ?ˆê±°??컨테?´ë„ˆ ì²?†Œ (?¬íЏ ì¶©ë<C2A9>Œ ë°©ì?, Nginx ?œì™¸)
echo "Finding and killing legacy containers holding our ports..."
for port in 8281 8282 8283 8284 8285; do
cids=$(docker ps -q --filter "publish=$port")
for cid in $cids; do
cname=$(docker inspect --format '{{.Name}}' $cid)
if [[ "$cname" != *nginx* ]]; then
echo "Force killing legacy container $cname ($cid) using port $port"
docker rm -f $cid
fi
done
done
# 4.6. Nginx 초기 ?¤ì • ë°?기ë<C2B0>
mkdir -p ./nginx/conf.d
@@ -125,3 +116,4 @@ jobs:
echo "Blue-Green CI/CD Deploy Success! Currently running: $TARGET"