Skip to content

Commit e76b3f4

Browse files
committed
chore(module): do forward
1 parent 08deb43 commit e76b3f4

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

dist/gateway/01.kong.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
## deploy
66

7-
## config
7+
## config: `Route >> Service >> Upstream >> Target`
88

9-
1. service:
10-
2. route
11-
3. upstream
12-
4. target
13-
5. consumer
9+
1. route: 与服务关联, 多对一关系(location)
10+
2. service: 上游服务的抽象, 通过 Kong 匹配到相应的请求要转发的地方(server)
11+
3. upstream: 上游服务, 实现负载
12+
4. target: upstream 负载下的每个节点(物理服务 | ip + port 的抽象)
13+
5. consumer: 代表用户或应用(核心原则是可以为其添加插件)
1414
6. plugin
1515

1616
## plugins 开发
@@ -24,3 +24,6 @@
2424
## reference
2525

2626
1. https://zhuanlan.zhihu.com/p/577842078
27+
2. https://github.com/micro-services-roadmap/roadmap/issues/5
28+
3. https://blog.csdn.net/lgxzzz/article/details/121683302
29+
4. https://cloud.tencent.com/developer/article/2301049

nginx

oauth

Submodule oauth updated 55 files

programming

rpc/grpc

Submodule grpc updated 30 files

0 commit comments

Comments
 (0)