mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-01-31 15:01:40 +03:00
update routing config of api
This commit is contained in:
parent
ff7c7ea816
commit
a1f20aff14
@ -53,18 +53,15 @@ API 接口配置提供了一些基于 [gRPC](https://grpc.io/)的 API 接口供
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
"routing": {
|
"routing": {
|
||||||
"settings": {
|
"rules": [
|
||||||
"rules": [
|
{
|
||||||
{
|
"inboundTag": [
|
||||||
"inboundTag": [
|
"api"
|
||||||
"api"
|
],
|
||||||
],
|
"outboundTag": "api",
|
||||||
"outboundTag": "api",
|
"type": "field"
|
||||||
"type": "field"
|
}
|
||||||
}
|
]
|
||||||
]
|
|
||||||
},
|
|
||||||
"strategy": "rules"
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user