반응형 application.properties3 Spring Boot Embeded Tomcat 내장 톰캣 application.properties 설정 Spring Boot Embeded Tomcat 내장 톰캣 application.properties 설정 이번 포스팅에서는 Spring Boot 2.x 의 application.properties 에서 설정가능한 내장 톰캣 옵션에 대해서 알아보도록 하겠습니다. Connection 관련 설정 설명 기본값 server.tomcat.connection-timeout 커넥션 타임아웃 설정 server.tomcat.keep-alive-timeout 커넥션 종료 전 다른 HTTP 요청을 기다리는 시간 설정 설정하지 않으면 connection-timeout 이 사용, -1이면 무한 100 server.tomcat.max-connections 서버가 주어진 시간에 처리할 수 있는 최대 커넥션 설정 8192 Thread.. Programing/Springboot 2022. 2. 3. springboot application.properties server.error 설정 ErrorController springboot application.properties server.error 설정 ErrorController springboot의 에러 설정에 대해 알아보겠습니다. springboot 에러 설정은 기본 설정파일인 application.properties 파일에서 간단히 할 수 있습니다. server.error.path : 에러발생 시 전달 할 경로 (default : /error) server.error.include-exception : 응답에 exception을 포함할지 여부 (default : false) server.error.include-stacktrace : 응답에 stacktrace를 포함할지 여부 (default : never) server.error.whitelabel.enab.. Programing/Springboot 2021. 10. 22. Springboot application.properties 정리 Springboot application.properties 정리 Springboot application.properties 복잡하게 구현해야 하는 설정을 간편하게 할 수 있게끔 기능을 제공합니다. DB 부터 자주사용되는 라이브러리들에 대한 설정까지 다양하게 제공을 하고 있는데요, 그 종류에는 어떤 것들이 있는지 자주 사용되는 설정에 대해서 알아보겠습니다. 참고 : https://docs.spring.io/spring-boot/docs/2.0.x/reference/html/common-application-properties.html Appendix A. Common application properties Appendix A. Common application properties Various pro.. Programing/Springboot 2019. 11. 7. 이전 1 다음 💲 추천 글 반응형