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
| spring:
| application:
| name: assess_admin
| profiles:
| active: dev
| servlet:
| multipart:
| enabled: true
| # 单个文件大小
| max-file-size: 20MB
| # 设置总上传的文件大小
| max-request-size: 100MB
| mvc:
| pathmatch:
| matching-strategy: ant_path_matcher
|
| server:
| port: 8088
| servlet:
| context-path: /api
|
|
| # 用户配置
| user:
| password:
| # 密码错误{maxRetryCount}次锁定10分钟
| maxRetryCount: 5
|
|
| image:
| upload_path: upload
|
|
| # 防止XSS攻击
| xss:
| # 过滤开关
| enabled: true
| # 排除链接(多个用逗号分隔)
| excludes: /system/notice
| # 匹配链接
| urlPatterns: /system/*,/monitor/*,/tool/*
|
|