application.yaml
1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
server:
port: 8080
compression:
enabled: true
excluded-user-agents: gozilla,traviata
mime-types: text/html,text/xml,text/plain,text/css,apply/json
undertow:
io-threads: 16
worker-threads: 256
buffer-size: 1024
direct-buffers: true
max-http-header-size: 104857600
spring:
application:
name: oss-server
profiles:
active: pro
mvc:
throw-exception-if-no-handler-found: true
dispatch-options-request: true
static-path-pattern: /**
resources:
add-mappings: false
static-locations: classpath:/static/
http:
encoding:
charset: UTF-8
enabled: true
force: true
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
default-property-inclusion: non_null
jpa:
hibernate:
ddl-auto: update
show-sql: true
redis:
host: 127.0.0.1
port: 6379
lettuce:
pool:
max-idle: 8
min-idle: 1
max-wait: 60000ms
max-active: 8
shutdown-timeout: 100ms
password: Jovaunn1
database: 0
servlet:
multipart:
enabled: true
max-file-size: 100MB
max-request-size: 100MB
#TOKEN工具
jwt:
header: Authorization
secret: isaoss
expiration: 2678400
tokenHead: "cat "