Skip to content

fix: test.html static 폴더 이동 및 swagger 경로 허용#33

Merged
ekfrehd merged 3 commits intodevelopfrom
fix/oauth-social-login-prod-config
Apr 17, 2026
Merged

fix: test.html static 폴더 이동 및 swagger 경로 허용#33
ekfrehd merged 3 commits intodevelopfrom
fix/oauth-social-login-prod-config

Conversation

@ekfrehd
Copy link
Copy Markdown
Contributor

@ekfrehd ekfrehd commented Apr 17, 2026

Summary

  • test.html이 gitignore로 인해 빌드 JAR에 누락 → 배포 서버에서 500 오류 발생
  • src/main/resources/static/ 으로 이동하면 Spring Boot가 정적 리소스로 서빙
  • .gitignore에서 test.html 제거
  • SecurityConfig에 /swagger-ui.html, /test.html 명시적으로 permitAll 추가

Test plan

  • http://15.164.112.64:8081/test.html 접근 확인 (200 응답)
  • http://15.164.112.64:8081/swagger-ui/index.html 접근 확인

🤖 Generated with Claude Code

p_caso and others added 3 commits April 17, 2026 18:19
- Google scope에 openid 추가, Kakao scope에 account_email 추가
- application-prod.yml에 forward-headers-strategy: framework 추가 (리버스 프록시 HTTPS 인식)
- application-prod.yml에 cookie.secure: false 추가 (HTTP 환경에서 refresh token 쿠키 정상 전달)
- deploy.yml docker run에 SPRING_PROFILES_ACTIVE=prod 및 모든 환경변수 주입 추가
- docker 포트 매핑 8080:8080 → 8081:8080 수정 (소셜 redirect URI 등록 포트 일치)
- DB_URL을 DB_HOST, DB_PORT, AUTH_DB_NAME 시크릿으로 조합하도록 수정

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- test.html이 gitignore에 포함되어 있어 빌드 JAR에 누락, 500 오류 발생
- static 폴더로 이동 시 Spring Boot가 정적 리소스로 서빙
- gitignore에서 test.html 제외

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ekfrehd ekfrehd merged commit 0fdc276 into develop Apr 17, 2026
1 check passed
@ekfrehd ekfrehd deleted the fix/oauth-social-login-prod-config branch April 17, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant