# profileActive
|
spring:
|
profiles:
|
active: dev
|
jackson:
|
date-format: yyyy-MM-dd HH:mm:ss
|
time-zone: GMT+8
|
serialization:
|
write-dates-as-timestamps: false
|
#资源路径
|
resources:
|
static-locations: classpath:/static/
|
#thymelea模板配置
|
thymeleaf:
|
prefix: classpath:/static/
|
suffix: .html
|
mode: HTML5
|
encoding: UTF-8
|
content-type: text/html
|
cache: false
|
enabled: true
|
|
#文件上传限制
|
servlet:
|
multipart:
|
enabled: true #是否启用http上传处理
|
max-request-size: 500MB #最大请求文件的大小
|
max-file-size: 500MB #设置单个文件最大长度
|
|
## 要管理的文件路径
|
fs:
|
dir: /Users/Jayden/my_data/www/public/
|
uuidName: false
|
useSm: true
|
useNginx: false
|
nginxUrl: http://localhost:80/
|
|
# session超时时间
|
server:
|
session:
|
timeout: 30
|
servlet:
|
context-path: /pfms # context-path
|
tomcat:
|
uri-encodeing: utf-8 # tomcat uri-encoding
|
|
# 日志的配置文件,默认是logback-spring.xml,如果使用别名则需要配置loggin.config
|
logging:
|
config: classpath:logback-spring.xml
|
|
## admin管理员账号
|
admin:
|
uname: admin #用户名
|
pwd: 111111 #密码
|
|
## 访问路径
|
domain: http://localhost:${server.port}/pfms
|