fix: test.html static 폴더 이동 및 swagger 경로 허용#33
Merged
Conversation
- 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>
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.
Summary
test.html이 gitignore로 인해 빌드 JAR에 누락 → 배포 서버에서 500 오류 발생src/main/resources/static/으로 이동하면 Spring Boot가 정적 리소스로 서빙.gitignore에서test.html제거/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