Spring Boot 配置参数一览

文章首发地址

# ----------------------------------------
# CORE PROPERTIES
# ----------------------------------------
# SPRING 相关配置 (ConfigFileApplicationListener)
spring.config.name= # config file name (default to 'application')
spring.config.location= # location of config file
# profile相关配置
spring.profiles= # comma list of active profiles
# 系统配置相关参数 (SpringApplication)
spring.main.sources=
spring.main.web-environment= # detect by default
spring.main.show-banner=true
spring.main....= # see class for all properties
# 日志配置相关参数
logging.path=/var/logs
logging.file=myapp.log
logging.config=
# IDENTITY (ContextIdApplicationContextInitializer)
spring.application.name=
spring.application.index=
# tomcat相关配置参数 (ServerProperties)
server.port=8080
server.address= # bind to a specific NIC
server.session-timeout

你可能感兴趣的:(spring,boot,后端,java)