diff --git a/docs/tutorials/api/config.md b/docs/tutorials/api/config.md index 0f0e4ac..829c5b9 100644 --- a/docs/tutorials/api/config.md +++ b/docs/tutorials/api/config.md @@ -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内部,所有动态配置的对象均为不可变的实例。后续的更新操作会生成一个新的对象实例替换现有实例。 diff --git a/docs/tutorials/reverse-proxy.md b/docs/tutorials/reverse-proxy.md index d306ea3..f9c3b69 100644 --- a/docs/tutorials/reverse-proxy.md +++ b/docs/tutorials/reverse-proxy.md @@ -268,7 +268,7 @@ services: ### 规则匹配 -除了简单的条件过滤外,请求路由同时也集成了Traefik中强大和灵活的[基于规则路由](https://doc.traefik.io/traefik/routing/routers/)功能。 +除了简单的条件过滤外,请求路由同时也集成了Traefik中更加灵活的[规则路由](https://doc.traefik.io/traefik/routing/routers/)功能。 通过`matcher.rule`选项设置节点的匹配规则,当设置了规则后,`filter`将会被忽略。 diff --git a/en/docs/tutorials/api/config.md b/en/docs/tutorials/api/config.md index a478b43..421f239 100644 --- a/en/docs/tutorials/api/config.md +++ b/en/docs/tutorials/api/config.md @@ -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. diff --git a/en/docs/tutorials/reverse-proxy.md b/en/docs/tutorials/reverse-proxy.md index 66e27d3..b7ce0c3 100644 --- a/en/docs/tutorials/reverse-proxy.md +++ b/en/docs/tutorials/reverse-proxy.md @@ -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.