문제 상황
Main → cicd → www.jungdam.tk
develop → cicd →
test-www.jungam.tk
Proxy
package.json
주소로 → base_url
- 그냥 방안?
- GET 요청은 정상적으로 동작한다.
test-api.jungdam.tk
- front 서버 → get
- Server 서버 → get
- 올바른 경로 가야한다.
- CORS → push → 지금은?
- www
이슈 해결은 오전 10시코어타임때 진행하겠습니다.

해결 방법
backend test 배포 환경 oauth redirect 관련 url 수정 진행
application-oauth.yaml
파일 수정
auth: oauth2: authorizedRedirectUris: - http://localhost:3000/oauth/redirect - http://test-www.jungdam.tk/oauth/redirect # http://www.jungdam.tk/oauth/redirect - https://test-www.jungdam.tk/oauth/redirect # https://www.jungdam.tk/oauth/redirect
밴더사별 provider 환경설정에서
www.
관련 url 확인후 수정 진행prod 배포 환경을 위해 test 환경에서 사용하던
www.
서브 도메인 을 test-www.
로 고쳐야합니다.- front github action 수정
aws s3 cp \ --region ap-northeast-2 \ --recursive \ build s3://jungdam-test # build s3://jungdam
AWS S3 정적파일 배포 버킷 dir 분리
jungdam-test
, jungdam
디렉토리로 분리AWS Route 53
test-www.
도메인 A Record 추가AWS cloudfront 설정 변경
🚨 프론트랑 회의
문제상황
- front쪽 배포 환경 셋팅에 대한 설정 의사소통 문제
- 환경변수
REACT_APP_HOME_URL
,REACT_APP_MODE
설정 등이 얘기가 다름.
해결방법
- front
develop
브렌치는 cicd를 적용 해제, 및 코드 병합 지점으로 활용
- front
main
브렌치에 cicd 적용 및 www.jungdam.tk 도메인으로 베포
.env
→ github action 주입이 필요- 노출 여부 결정 상의해보기.
- back
develop
브렌치의application-dev.yaml
파일에auth.oauth2.authorizedRedirectUri
에localhost
만 등록.