Skip to content

Commit 4d51a02

Browse files
JIWONKIMSclaude
andcommitted
fix: Allow /actuator/health endpoint for health checks
Added /actuator/health to permitAll in SecurityConfig to enable container health checks during Blue/Green deployment. Without this, health checks fail due to authentication requirement, causing deployment rollback. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ac86680 commit 4d51a02

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/kotlin/com/back/koreaTravelGuide/common/security/SecurityConfig.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ class SecurityConfig(
6060
authorize("/h2-console/**", permitAll)
6161
authorize("/swagger-ui/**", "/v3/api-docs/**", permitAll)
6262
authorize("/api/auth/**", permitAll)
63+
authorize("/actuator/health", permitAll)
6364
authorize("/favicon.ico", permitAll)
6465
if (isDev) {
6566
authorize(anyRequest, permitAll)

0 commit comments

Comments
 (0)