Skip to content

Commit

Permalink
feat: ALB healthyCheck 200상태코드 반환 api 스프링 시큐리티 필터 제외
Browse files Browse the repository at this point in the history
  • Loading branch information
ss7622 committed Jul 6, 2024
1 parent c844695 commit 8fa013a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
.requestMatchers("/main/today","/main/season","/model/ment","/model/*/non").permitAll()
//sms api
.requestMatchers("/sms/prove/*","/sms/send").permitAll()
//ALB
.requestMatchers("/").permitAll()
.anyRequest().authenticated());

http.addFilterBefore(jwtVerifyFilter(), UsernamePasswordAuthenticationFilter.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ public class JwtVerifyFilter extends OncePerRequestFilter {
//비회원 전용 api
"/main/today","/main/season","/model/ment","/model/*/non",
//sms api
"/sms/prove/*","/sms/send"};
"/sms/prove/*","/sms/send",
//ALB
"/"};
private final RedisUtil redisUtil;


Expand Down

0 comments on commit 8fa013a

Please sign in to comment.