Skip to content

[fix] nginx 변경 시 컨테이너 실행 시간 기준으로 비교 #355#359

Merged
Han-Joon-Hyeok merged 1 commit intomainfrom
fix/배포-shell-script-수정#355
Jan 21, 2025

Hidden character warning

The head ref may contain hidden characters: "fix/\ubc30\ud3ec-shell-script-\uc218\uc815#355"
Merged

[fix] nginx 변경 시 컨테이너 실행 시간 기준으로 비교 #355#359
Han-Joon-Hyeok merged 1 commit intomainfrom
fix/배포-shell-script-수정#355

Conversation

@Han-Joon-Hyeok
Copy link
Contributor

기존 스크립트에서 nginx 파일을 원본으로 돌리면 green으로 리버스 프록싱 하도록 되어있었습니다. 그러다보니 nginx에서 스위칭을 수행할 때 실제로는 blue 컨테이너가 켜져있는 상황인데, 설정 파일에는 green 컨테이너가 실행되고 있는 것으로 판단해서 정상적인 스위칭이 일어나지 않았습니다. 이를 수정하기 위해 컨테이너 실행 시간을 비교하여 스위칭 하도록 했습니다.

@Han-Joon-Hyeok Han-Joon-Hyeok added the bug Something isn't working label Jan 21, 2025
@Han-Joon-Hyeok Han-Joon-Hyeok self-assigned this Jan 21, 2025
@Han-Joon-Hyeok Han-Joon-Hyeok merged commit 123f9bc into main Jan 21, 2025
1 check passed
Copy link
Contributor

@solgito solgito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants