-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.properties
27 lines (22 loc) · 1.01 KB
/
application.properties
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
#spring settings
server.servlet.encoding.force=true
server.servlet.encoding.charset=UTF-8
server.servlet.encoding.enabled=true
server.servlet.session.timeout=1D
#cookie name setting
server.servlet.session.cookie.name=sentinel_dashboard_cookie
#logging settings
logging.level.org.springframework.web=INFO
logging.file.name=./logs/${environment.plugin}/sentinel-dashboard.log
logging.pattern.file= %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n
#logging.pattern.console= %d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n
#auth settings
auth.filter.exclude-urls=/,/auth/login,/auth/logout,/registry/machine,/version,/client/config
auth.filter.exclude-url-suffixes=htm,html,js,css,map,ico,ttf,woff,png
# Inject the dashboard version. It's required to enable
# filtering in pom.xml for this resource file.
#spring.profiles.active=dev,nacos
spring.profiles.active=dev,zookeeper
#spring.profiles.active=online,nacos
#spring.profiles.active=online,zookeeper