무중단 배포용 /health 200 응답 기능 Spring Security 예외 처리 추가
Some checks failed
Main-Build / build-and-push (push) Failing after 22s

This commit is contained in:
2025-12-08 16:24:34 +09:00
parent 9eade14238
commit 58d246a993
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ public class MainController {
return startPage;
}
@RequestMapping(value = "/health", method = RequestMethod.GET)
@RequestMapping(value = "/health.do", method = RequestMethod.GET)
public void health(HttpServletResponse response) throws IOException {
response.setStatus(HttpServletResponse.SC_OK);
response.setContentType("text/plain;charset=UTF-8");

View File

@@ -20,7 +20,7 @@
<security:http pattern="/js/**" security="none"/>
<security:http pattern="/resource/**" security="none"/>
<security:http pattern="\A/WEB-INF/jsp/.*\Z" request-matcher="regex" security="none"/>
<security:http pattern="/health" security="none"/>
<security:http pattern="/health.do" security="none"/>
<egov-security:config id="securityConfig"
loginUrl="/login.do"