Commit f14dbdcef4b6f1080f979a66e732a2a2016df02f

Authored by 孙宁海
1 parent 356e2808

App 不经过cas 配置

Showing 1 changed file with 15 additions and 3 deletions
gateway.yml
... ... @@ -33,6 +33,10 @@ zuul:
33 33 path: /cxcy/**
34 34 #url: http://cxcy-service:16300
35 35 serviceId: cxcy-service
  36 + appCxcy:
  37 + path: /app/cxcy/**
  38 + #url: http://cxcy-service:16300
  39 + serviceId: cxcy-service
36 40  
37 41 hystrix:
38 42 command:
... ... @@ -76,7 +80,7 @@ cas:
76 80 casServerUrlPrefix: https://cas.gaoxiaobang.com/
77 81 casServerLoginUrl: https://cas.gaoxiaobang.com/login
78 82 casServerLogoutUrl: https://cas.gaoxiaobang.com/logout
79   - ignorePattern: (^(/mvc/goto/)|(\.ico)|(/js)|(/image)|(/css)|(/fonts)|(/api)|(/downloadfile))|(.jsp$)|(/health)
  83 + ignorePattern: (^(/mvc/goto/)|^(/app/cxcy)|(\.ico)|(/js)|(/image)|(/css)|(/fonts)|(/api)|(/downloadfile))|(.jsp$)|(/health)
80 84  
81 85 tenant:
82 86 tenantId: 991
... ... @@ -112,6 +116,10 @@ zuul:
112 116 path: /cxcy/**
113 117 #url: http://cxcy-service:16300
114 118 serviceId: cxcy-service
  119 + appCxcy:
  120 + path: /app/cxcy/**
  121 + #url: http://cxcy-service:16300
  122 + serviceId: cxcy-service
115 123  
116 124 hystrix:
117 125 command:
... ... @@ -148,7 +156,7 @@ cas:
148 156 casServerUrlPrefix: https://cas.gaoxiaobang.com/
149 157 casServerLoginUrl: https://cas.gaoxiaobang.com/login
150 158 casServerLogoutUrl: https://cas.gaoxiaobang.com/logout
151   - ignorePattern: (^(/mvc/goto/)|(\.ico)|(/js)|(/image)|(/css)|(/fonts)|(/api)|(/downloadfile))|(.jsp$)
  159 + ignorePattern: (^(/mvc/goto/)|^(/app/cxcy)|(\.ico)|(/js)|(/image)|(/css)|(/fonts)|(/api)|(/downloadfile))|(.jsp$)
152 160  
153 161 tenant:
154 162 tenantId: 991
... ... @@ -184,6 +192,10 @@ zuul:
184 192 path: /cxcy/**
185 193 #url: http://cxcy-service:16300
186 194 serviceId: cxcy-service
  195 + appCxcy:
  196 + path: /app/cxcy/**
  197 + #url: http://cxcy-service:16300
  198 + serviceId: cxcy-service
187 199  
188 200 hystrix:
189 201 command:
... ... @@ -220,7 +232,7 @@ cas:
220 232 casServerUrlPrefix: http://cas/
221 233 casServerLoginUrl: https://cas.gaoxiaobang.com/login
222 234 casServerLogoutUrl: https://cas.gaoxiaobang.com/logout
223   - ignorePattern: (^(/mvc/goto/)|(\.ico)|(/js)|(/image)|(/css)|(/fonts)|(/api)|(/downloadfile))|(.jsp$)
  235 + ignorePattern: (^(/mvc/goto/)|^(/app/cxcy)|(\.ico)|(/js)|(/image)|(/css)|(/fonts)|(/api)|(/downloadfile))|(.jsp$)
224 236  
225 237 tenant:
226 238 tenantId: 991
227 239 \ No newline at end of file
... ...