chore: Nginx proxy_pass envsubst 환경변수 전환#394
Open
SnailW wants to merge 4 commits intochore/389-split-docker-compose-by-instancefrom
Open
chore: Nginx proxy_pass envsubst 환경변수 전환#394SnailW wants to merge 4 commits intochore/389-split-docker-compose-by-instancefrom
SnailW wants to merge 4 commits intochore/389-split-docker-compose-by-instancefrom
Conversation
- proxy_pass 대상을 ${WAS_HOST} 환경변수로 주입
- HTTPS 리다이렉트만 수행하는 블록에서 Gzip, 보안 헤더, body size 제한 제거
3 tasks
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
davidpro08
approved these changes
Mar 5, 2026
Collaborator
davidpro08
left a comment
There was a problem hiding this comment.
내용을 보면서 이해할 수 있었습니다. 수고하셨습니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 관련 이슈
✅ 작업 내용
nginx.conf→nginx.conf.template로 변환하여envsubst기반 환경변수 치환 적용proxy_pass대상을 Docker 내부 호스트명(backend)에서${WAS_HOST}환경변수로 변경backend로 동작dockerfile.prod템플릿을/etc/nginx/templates/로 복사하여 nginx 공식 이미지의 자동 envsubst 활용docker-compose.webserver.yml:WAS_HOST환경변수 추가nginx.conf.template: 80번 서버 블록에서 HTTPS 리다이렉트에 불필요한 Gzip, 보안 헤더, body size 제한 제거💬 참고 사항
/etc/nginx/templates/*.template파일을 컨테이너 시작 시 자동으로 envsubst 처리합니다