feat: 출시 전 서버 기능과 보안 보강 - #21
Merged
Merged
Conversation
Moves production deployment from AWS EC2 to a GCP Compute Engine VM running the same Postgres+API Docker Compose stack. Caddy now terminates HTTPS for api.soundlog.shop directly on the VM instead of relying on the Vercel proxy trick EC2 needed for TLS. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- dev DB 테스트 라우트를 production에서 제거하고 비-production에서도 인증 필수화 - 업로드 사진 조회를 소유권/공개여부 기반 인증 엔드포인트(GET /v1/uploads/:fileId)로 전환, path traversal 차단, 매직바이트 기반 Content-Type 검증, 업로드 MIME 화이트리스트 적용 - 로그인/회원가입/refresh에 계정+IP 이중 rate limit 적용 - 이미지 교체 시 고아 업로드 파일 정리 로직 보강 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
manNomi
marked this pull request as ready for review
August 1, 2026 11:15
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.
작업 내용
검증
pnpm install --frozen-lockfilepnpm db:generatepnpm typecheckpnpm buildpnpm test:coverage(54개 통과, 14개 제외)pnpm check:openapi-sync(63개 operation)pnpm check:no-spotify-metadatapnpm check:production-envdocker compose -f docker-compose.prod.yml config참고
TRUST_PROXY_HOPS=0을 유지하고 리버스 프록시 뒤에서는 실제 프록시 홉 수를 지정해야 합니다.