Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cms_sys
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
西魏
cms_sys
Commits
ee7da83b
Commit
ee7da83b
authored
May 11, 2022
by
msgroup
Committed by
mingsoft
May 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 配置文件更新
parent
27e28682
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
application.yml
src/main/resources/application.yml
+8
-1
No files found.
src/main/resources/application.yml
View file @
ee7da83b
server
:
port
:
8080
servlet.session.timeout
:
P0DT60M0S
#D天H小时M分钟S秒,字符T是紧跟在时分秒之前的,每个单位都必须由数字开始,且时分秒顺序不能乱
servlet
:
encoding
:
force
:
true
charset
:
utf-8
enabled
:
true
# ssl: #https证书配置 配置了之后只能通过https访问应用
# key-store: xxx.pfx 证书文件
# key-store-password: 1234 证书密码
...
...
@@ -14,6 +19,7 @@ logging:
ms
:
shiro-key
:
d3d3bWluZ3NvZnRuZXRtcw==
#生产必须修改此值否则会存在安全风险,可以通过 https://base64.us/随机生产一个Base64值
cookie-name
:
SHIRO_SESSION_ID
html-dir
:
html
rand-code
:
length
:
4
#验证码长度
...
...
@@ -27,7 +33,7 @@ ms:
xss
:
xssEnable
:
true
#xss过滤器的开关
filterUrl
:
/**
#过滤的url,多个用逗号分开
excludeUrl
:
/ms**,/static**,/template**,/file/upload.do,/static/plugins/ueditor/1.4.3.3/jsp/editor.do
#排除的url,多个用逗号分开
excludeUrl
:
/ms**,/static**,/template**,/file/upload.do,/static/plugins/ueditor/1.4.3.3/jsp/editor.do
#排除的url,多个用逗号分开
upload
:
enable-web
:
true
#启用web层的上传
template
:
template
#模板文件夹支持重命名,不支持路径
...
...
@@ -96,5 +102,6 @@ mybatis-plus:
global-config
:
db-config
:
id-type
:
auto
select-strategy
:
not_empty
configuration
:
database-id
:
mysql
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment