Commit 557ec4182f3bb289c952686f0311087b511d0204
1 parent
717bf800
新增cas配置
Showing
1 changed file
with
12 additions
and
1 deletions
gateway.yml
| @@ -36,6 +36,11 @@ eureka: | @@ -36,6 +36,11 @@ eureka: | ||
| 36 | serviceUrl: | 36 | serviceUrl: |
| 37 | defaultZone: http://discovery:15200/eureka/ | 37 | defaultZone: http://discovery:15200/eureka/ |
| 38 | 38 | ||
| 39 | +cas: | ||
| 40 | + encoding: UTF-8 | ||
| 41 | + casServerUrlPrefix: https://cas.gaoxiaobang.com/ | ||
| 42 | + casServerLoginUrl: https://cas.gaoxiaobang.com/login | ||
| 43 | + ignorePattern: (^(/mvc/goto/)|(\\.ico)|(/js)|(/image)|(/css)|(/fonts)|(/api)|(/downloadfile))|(.jsp$) | ||
| 39 | --- | 44 | --- |
| 40 | 45 | ||
| 41 | spring: | 46 | spring: |
| @@ -69,4 +74,10 @@ eureka: | @@ -69,4 +74,10 @@ eureka: | ||
| 69 | registerWithEureka: true | 74 | registerWithEureka: true |
| 70 | fetchRegistry: false | 75 | fetchRegistry: false |
| 71 | serviceUrl: | 76 | serviceUrl: |
| 72 | - defaultZone: http://discovery:15200/eureka/ | ||
| 73 | \ No newline at end of file | 77 | \ No newline at end of file |
| 78 | + defaultZone: http://discovery:15200/eureka/ | ||
| 79 | + | ||
| 80 | +cas: | ||
| 81 | + encoding: UTF-8 | ||
| 82 | + casServerUrlPrefix: https://cas.gaoxiaobang.com/ | ||
| 83 | + casServerLoginUrl: https://cas.gaoxiaobang.com/login | ||
| 84 | + ignorePattern: (^(/mvc/goto/)|(\\.ico)|(/js)|(/image)|(/css)|(/fonts)|(/api)|(/downloadfile))|(.jsp$) | ||
| 74 | \ No newline at end of file | 85 | \ No newline at end of file |