update 优化 调整配置文件语法
parent
fa8d66e914
commit
0cc44a8618
|
|
@ -21,7 +21,7 @@ user:
|
||||||
# 密码锁定时间(默认10分钟)
|
# 密码锁定时间(默认10分钟)
|
||||||
lockTime: 10
|
lockTime: 10
|
||||||
|
|
||||||
--- # 三方授权
|
# 三方授权
|
||||||
justauth:
|
justauth:
|
||||||
# 前端外网访问地址
|
# 前端外网访问地址
|
||||||
address: http://localhost:80
|
address: http://localhost:80
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ store.mode=db
|
||||||
store.lock.mode=db
|
store.lock.mode=db
|
||||||
store.session.mode=db
|
store.session.mode=db
|
||||||
#Used for password encryption
|
#Used for password encryption
|
||||||
store.publicKey=
|
#store.publicKey=
|
||||||
|
|
||||||
#These configurations are required if the `store mode` is `db`. If `store.mode,store.lock.mode,store.session.mode` are not equal to `db`, you can remove the configuration block.
|
#These configurations are required if the `store mode` is `db`. If `store.mode,store.lock.mode,store.session.mode` are not equal to `db`, you can remove the configuration block.
|
||||||
store.db.datasource=hikari
|
store.db.datasource=hikari
|
||||||
|
|
|
||||||
|
|
@ -104,18 +104,6 @@ management.metrics.export.influx.enabled=false
|
||||||
#management.metrics.export.influx.consistency=one
|
#management.metrics.export.influx.consistency=one
|
||||||
#management.metrics.export.influx.compressed=true
|
#management.metrics.export.influx.compressed=true
|
||||||
|
|
||||||
#*************** Access Log Related Configurations ***************#
|
|
||||||
### If turn on the access log:
|
|
||||||
server.tomcat.accesslog.enabled=true
|
|
||||||
|
|
||||||
### accesslog automatic cleaning time
|
|
||||||
server.tomcat.accesslog.max-days=30
|
|
||||||
|
|
||||||
### The access log pattern:
|
|
||||||
server.tomcat.accesslog.pattern=%h %l %u %t "%r" %s %b %D %{User-Agent}i %{Request-Source}i
|
|
||||||
|
|
||||||
### The directory of access log:
|
|
||||||
server.tomcat.basedir=file:.
|
|
||||||
#*************** Access Control Related Configurations ***************#
|
#*************** Access Control Related Configurations ***************#
|
||||||
### If enable spring security, this option is deprecated in 1.2.0:
|
### If enable spring security, this option is deprecated in 1.2.0:
|
||||||
#spring.security.enabled=false
|
#spring.security.enabled=false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue