This commit is contained in:
Ubuntu
2025-05-28 13:51:17 +00:00
parent a99d8fb6ce
commit 542718f644
10 changed files with 585 additions and 3 deletions
@@ -62,7 +62,7 @@ public class SecurityConfig {
)
.csrf(AbstractHttpConfigurer::disable)
.authorizeHttpRequests(auth -> auth
.requestMatchers(HttpMethod.GET, "/swagger-ui.html", "/swagger-ui/**", "/v3/api-docs/**").permitAll()
.requestMatchers(HttpMethod.GET, "/swagger-ui.html", "/swagger-ui/**", "/v3/api-docs/**", "/actuator/**").permitAll()
.requestMatchers(HttpMethod.POST, "/api/auth/**").permitAll()
.anyRequest().authenticated()
)
+16
View File
@@ -35,3 +35,19 @@ logging:
level:
com.unicorn: DEBUG
org.hibernate.SQL: TRACE
# Actuator 설정
management:
endpoints:
web:
exposure:
include: health,info,metrics,prometheus
endpoint:
health:
show-details: always
probes:
enabled: true
health:
livenessState:
enabled: true
readinessState:
enabled: true