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