提交 6a8374f9 编写于 作者: ThinkPet's avatar ThinkPet

上传新文件

上级 e88d4e73
server:
port: 8913
compression:
enabled: true # 开启Gzip压缩,响应数据超过1kb时触发gzip自动压缩,以提高前端响应时间
min-response-size: 1KB
servlet:
context-path: /demo
session:
timeout: PT30M #默认会话过期时间30分钟
encoding:
enabled: true
charset: UTF-8
force: true
tomcat:
uri-encoding: UTF-8
sys:
temp:
# path: /tmp
path: C:/Users/Administrator/Pictures
logging:
file:
#最终的存储路径是: 系统用户目录/.应用名称/logs/端口号/spring.log
path: ${user.home}/.${spring.application.name}/logs/${server.port}
max-history: 7
max-size: 10MB
pattern:
console: "%date %clr(%level) [${PID}] [%thread] [%magenta(%X{traceId})] %cyan(%logger{10}) [%file : %line] %msg%n"
file: "%date %level [${PID}] [%thread] [%X{traceId}] %logger{10} [%file : %line] %msg%n"
javamelody:
#是否启用 javamelody
enabled: true
init-parameters:
#是否打印控制台日志
log: true
#web监控页访问账户密码
authorized-users: admin:123456
#url排除认证
url-exclude-pattern: (/webjars/.*|/css/.*|/images/.*|/fonts/.*|/js/.*)
#web监控页访问地址
monitoring-path: /jk
spring:
application:
name: csdockerdemo
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册