fix: health check permitAll 추가

This commit is contained in:
dongHyo
2022-06-01 00:01:56 +09:00
parent 0dd0c18c6e
commit 477ff38a0a

View File

@@ -54,6 +54,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.authorizeRequests()
.antMatchers(HttpMethod.POST, "/user").permitAll()
.antMatchers(HttpMethod.POST, "/user/login").permitAll()
.antMatchers("/l7check").permitAll()
.antMatchers("/actuator/health").permitAll()
.anyRequest().authenticated()
.and()