[Spring Boot] ์คํ๋ง ๋ถํธ์ ์ ์ ์ปจํ ์ธ ๊ธฐ๋ฅ
์คํ๋ง๋ถํธ์๋ ์ ์ ์ปจํ
์ธ ๋ฅผ ์ฌ๋ฆด ์ ์๋ ๊ธฐ๋ฅ์ด ์๋ค.
์๋๋ ์ ์ ์ปจํ
์ธ ๋ฅผ ์คํ๋ง์ด ์คํํ๋ ์์์ด๋ค.
์คํ๋ง๋ถํธ ๊ณต์ ์ฌ์ดํธ ๋ฉ๋ด์ผ์ ๋จผ์ ์ดํด๋ณด๋ฉด
/static ํด๋์ ํ์ผ์ ์์ฑํด์ ๋ถ๋ฌ์ฌ ์ ์๋ค.
Spring Boot Features
Graceful shutdown is supported with all four embedded web servers (Jetty, Reactor Netty, Tomcat, and Undertow) and with both reactive and Servlet-based web applications. It occurs as part of closing the application context and is performed in the earliest
docs.spring.io
src/main/resources/static์ html์ ์์ฑํ ๋ค
์คํํ์ฌ ๋ก์ปฌ์์ ํ ์คํธํ๋ฉด ์ ์ ์๋ํ๋ ๊ฒ์ ๋ณผ ์ ์๋ค.
์ด ์ฒ๋ผ ๋จ์ํ๊ฒ ํ๋ฉด์ ์ ์ ์ฝํ ์ธ ๋ฅผ ๋ณด์ฌ์ฃผ๋ ๊ธฐ๋ฅ์ด๋ค.