{"id":11362,"date":"2026-02-05T11:21:41","date_gmt":"2026-02-05T02:21:41","guid":{"rendered":"https:\/\/www.skyer9.pe.kr\/wordpress\/?p=11362"},"modified":"2026-02-05T11:21:41","modified_gmt":"2026-02-05T02:21:41","slug":"spring-boot-health-%ed%99%9c%ec%84%b1%ed%99%94","status":"publish","type":"post","link":"https:\/\/www.skyer9.pe.kr\/wordpress\/?p=11362","title":{"rendered":"Spring Boot &#8211; health \ud65c\uc131\ud654"},"content":{"rendered":"<h1>Spring Boot &#8211; health \ud65c\uc131\ud654<\/h1>\n<h2>\uc758\uc874\uc131 \ucd94\uac00<\/h2>\n<pre><code class=\"language-gradle\">implementation &#039;org.springframework.boot:spring-boot-starter-actuator&#039;<\/code><\/pre>\n<h2>\uc5d4\ub4dc\ud3ec\uc778\ud2b8 \ub178\ucd9c<\/h2>\n<pre><code class=\"language-yaml\">management:\n  endpoints:\n    web:\n      exposure:\n        include: &quot;health&quot;<\/code><\/pre>\n<h2>Security \uc124\uc815<\/h2>\n<pre><code class=\"language-java\">@Configuration\n@EnableWebSecurity\n@RequiredArgsConstructor\n@EnableMethodSecurity(securedEnabled = true)\npublic class SecurityConfig {\n\n    private final JwtAuthenticationFilter jwtAuthenticationFilter;\n    private final JwtAuthenticationEntryPoint jwtAuthenticationEntryPoint;\n    private final CustomAccessDeniedHandler customAccessDeniedHandler;\n\n    @Bean\n    public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {\n        http\n                .authorizeHttpRequests(authz -&gt; authz\n                        .requestMatchers(&quot;\/actuator\/health&quot;).permitAll()\n                );\n\n        return http.build();\n    }\n}<\/code><\/pre>\n<h2>\ud655\uc778\ud558\uae30<\/h2>\n<p>\ub3c4\uba54\uc778\uacfc \ud3ec\ud2b8\ub294 \uc11c\ubc84 \uc124\uc815\uc5d0\uc11c \ud655\uc778\ud574\uc11c \uc218\uc815\ud569\ub2c8\ub2e4.<\/p>\n<p><a href=\"http:\/\/localhost:8080\/actuator\/health\">http:\/\/localhost:8080\/actuator\/health<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Spring Boot &#8211; health \ud65c\uc131\ud654 \uc758\uc874\uc131 \ucd94\uac00 implementation &#039;org.springframework.boot:spring-boot-starter-actuator&#039; \uc5d4\ub4dc\ud3ec\uc778\ud2b8 \ub178\ucd9c management: endpoints: web: exposure: include: &quot;health&quot; Security \uc124\uc815 @Configuration @EnableWebSecurity @RequiredArgsConstructor @EnableMethodSecurity(securedEnabled = true) public class SecurityConfig { private final JwtAuthenticationFilter jwtAuthenticationFilter; private final JwtAuthenticationEntryPoint jwtAuthenticationEntryPoint; private final CustomAccessDeniedHandler customAccessDeniedHandler; @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { http .authorizeHttpRequests(authz -&gt; authz .requestMatchers(&quot;\/actuator\/health&quot;).permitAll() );\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.skyer9.pe.kr\/wordpress\/?p=11362\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-11362","post","type-post","status-publish","format-standard","hentry","category-spring-boot"],"_links":{"self":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/11362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11362"}],"version-history":[{"count":1,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/11362\/revisions"}],"predecessor-version":[{"id":11363,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/11362\/revisions\/11363"}],"wp:attachment":[{"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skyer9.pe.kr\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}