21 lines
670 B
Properties
21 lines
670 B
Properties
|
#配置访问地址
|
|||
|
server.address=127.0.0.1
|
|||
|
#配置管理平台启动端口
|
|||
|
server.port=8288
|
|||
|
#设置输出日志
|
|||
|
logging.file=${user.dir}/site-logs/admin.log
|
|||
|
#logging.file=site-logs/admin.log
|
|||
|
#设置日志的输出级别
|
|||
|
logging.level.root=warn
|
|||
|
#配置mvc前缀,界面位置
|
|||
|
spring.thymeleaf.prefix=classpath:/webapp/views/
|
|||
|
#静态资源
|
|||
|
spring.resources.static-locations=classpath:/webapp/static/
|
|||
|
|
|||
|
#设置spring的http请求编码
|
|||
|
spring.http.encoding.force=true
|
|||
|
spring.http.encoding.charset=UTF-8
|
|||
|
spring.http.encoding.enabled=true
|
|||
|
server.tomcat.uri-encoding=UTF-8
|
|||
|
|
|||
|
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
|