Procházet zdrojové kódy

增加正式环境配置

master
wangjx před 3 roky
rodič
revize
0fc89e8122
1 změnil soubory, kde provedl 31 přidání a 0 odebrání
  1. +31
    -0
      sentinel-dashboard/src/main/resources/application-pro.properties

+ 31
- 0
sentinel-dashboard/src/main/resources/application-pro.properties Zobrazit soubor

@@ -0,0 +1,31 @@
#spring settings
spring.http.encoding.force=true
spring.http.encoding.charset=UTF-8
spring.http.encoding.enabled=true

#cookie name setting
server.servlet.session.cookie.name=sentinel_dashboard_cookie

#logging settings
logging.level.org.springframework.web=INFO
#logging.file=${user.home}/logs/csp/sentinel-dashboard.log
logging.file=/var/log/sentineldashboard/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
auth.filter.exclude-url-suffixes=htm,html,js,css,map,ico,ttf,woff,png
# If auth.enabled=false, Sentinel console disable login
auth.username=sentinel
auth.password=sentinel
#auth.username=telpo
#auth.password=telpo#1234

# Inject the dashboard version. It's required to enable
# filtering in pom.xml for this resource file.
# sentinel.dashboard.version=@project.version@
sentinel.dashboard.version=1.8.2
sentinel.nacos.serverAddr=172.19.42.49:8848
sentinel.nacos.namespace=
sentinel.nacos.group-id=DEFAULT_GROUP

Načítá se…
Zrušit
Uložit