Skip to content

Commit 7f879ed

Browse files
committed
update config
1 parent 1d60322 commit 7f879ed

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

config-repo/gateway.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,11 @@ ribbon:
1313
ReadTimeout: 10000
1414
ConnectTimeout: 10000
1515

16-
authserver:
17-
hostname: auth-service
18-
port: 5000
19-
context-path: uaa
20-
2116
zuul:
2217
ignoredServices: '*'
2318
routes:
2419
auth-service:
2520
path: /uaa/**
26-
url: http://auth-service:5000
2721
stripPrefix: false
2822
sensitiveHeaders:
2923
svca-service:

config-repo/svca-service.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
server:
22
port: 8080
33

4-
name: zhangxd
4+
name: zhangxd
5+
6+
authserver:
7+
hostname: auth-service
8+
port: 5000
9+
contextPath: uaa
10+
11+
spring:
12+
oauth2:
13+
resource:
14+
userInfoUri: http://${authserver.hostname}:${authserver.port}/${authserver.contextPath}/current
15+
preferTokenInfo: false

0 commit comments

Comments
 (0)