Browse Source

变更配置

lzm 2 years ago
parent
commit
0925c53088
1 changed files with 19 additions and 2 deletions
  1. 19 2
      MZ/ruoyi-gateway-strong3.yml

+ 19 - 2
MZ/ruoyi-gateway-strong3.yml

@@ -75,7 +75,23 @@ spring:
           predicates:
             - Path=/datasync/**
           filters:
-            - StripPrefix=1                  
+            - StripPrefix=1  
+    sentinel:
+      # 取消控制台懒加载
+      eager: true
+      transport:
+        # 控制台地址
+        dashboard: 10.16.4.12:8718
+      # nacos配置持久化
+      datasource:
+        ds1:
+          nacos:
+            server-addr: 10.16.4.12:8848
+            dataId: sentinel-ruoyi-gateway
+            groupId: MZ
+            namespace: strong3
+            data-type: json
+            rule-type: flow                
 
 # 安全配置
 security:
@@ -98,4 +114,5 @@ security:
       - /csrf
       - /system/processDefinition/**
       - /portal/**
-      - /system/dict/data/common/type/*
+      - /system/dict/data/common/type/*
+      - /file/uploadPath/**