Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ginuerzh committed Nov 17, 2024
1 parent 8693ec3 commit a9b904a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/tutorials/api/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ comments: true

GOST可以通过Web API来进行动态配置,支持动态配置的对象有:服务(Service),转发链(Chain),认证器(Auther),分流器(Bypass),准入控制器(Admission),域名解析器(Resolver),域名IP映射器(Hosts),限速器(Limiter)。配置变更会立即生效。

详细的接口说明请参考[在线API文档](../../swagger-ui/index.html)
详细的接口说明请参考[在线API文档](https://api.gost.run/swagger-ui/?url=/docs/swagger.yaml)

!!! tip "不可变性"
在GOST内部,所有动态配置的对象均为不可变的实例。后续的更新操作会生成一个新的对象实例替换现有实例。
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/reverse-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ services:

### 规则匹配

除了简单的条件过滤外,请求路由同时也集成了Traefik中强大和灵活的[基于规则路由](https://doc.traefik.io/traefik/routing/routers/)功能。
除了简单的条件过滤外,请求路由同时也集成了Traefik中更加灵活的[规则路由](https://doc.traefik.io/traefik/routing/routers/)功能。

通过`matcher.rule`选项设置节点的匹配规则,当设置了规则后,`filter`将会被忽略。

Expand Down
2 changes: 1 addition & 1 deletion en/docs/tutorials/api/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ comments: true

GOST can be dynamically configured through Web API. The objects that support dynamic configuration are: service, chain, auther, bypass, admission controller, resolver, hosts. Configuration changes take effect immediately.

For detailed description, please refer to the online [API documentation](../../swagger-ui/index.html).
For detailed description, please refer to the online [API documentation](https://api.gost.run/swagger-ui/?url=/docs/swagger.yaml).

!!! tip "Immutability"
In GOST, all dynamically configured objects are immutable instances. Subsequent update operations generate a new object instance to replace the existing one.
Expand Down
2 changes: 1 addition & 1 deletion en/docs/tutorials/reverse-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ services:

### Rule Matching

In addition to simple conditional filtering, request routing also integrates the powerful and flexible [rule-based routing](https://doc.traefik.io/traefik/routing/routers/) function in Traefik.
In addition to simple conditional filtering, request routing also integrates the more flexible [rule-based routing](https://doc.traefik.io/traefik/routing/routers/) function in Traefik.

The matching rule of the node can be set by the `matcher.rule` option. When the rule is set, `filter` will be ignored.

Expand Down

0 comments on commit a9b904a

Please sign in to comment.