From 0fc89e81228d75ae9389446f93621d5eacc09118 Mon Sep 17 00:00:00 2001 From: wangjx <1609724385@qq.com> Date: Thu, 8 Jul 2021 08:13:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=AD=A3=E5=BC=8F=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/application-pro.properties | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 sentinel-dashboard/src/main/resources/application-pro.properties diff --git a/sentinel-dashboard/src/main/resources/application-pro.properties b/sentinel-dashboard/src/main/resources/application-pro.properties new file mode 100644 index 00000000..53390384 --- /dev/null +++ b/sentinel-dashboard/src/main/resources/application-pro.properties @@ -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 \ No newline at end of file