mirror of https://github.com/v2ray/v2ray-core
parent
790f6c038c
commit
869cd46450
|
@ -16,7 +16,7 @@ import (
|
||||||
type Config struct {
|
type Config struct {
|
||||||
PortValue uint16 `json:"port"` // Port of this Point server.
|
PortValue uint16 `json:"port"` // Port of this Point server.
|
||||||
LogConfigValue *LogConfig `json:"log"`
|
LogConfigValue *LogConfig `json:"log"`
|
||||||
RouterConfigValue *routerconfigjson.RouterConfig `json:"router"`
|
RouterConfigValue *routerconfigjson.RouterConfig `json:"routing"`
|
||||||
InboundConfigValue *ConnectionConfig `json:"inbound"`
|
InboundConfigValue *ConnectionConfig `json:"inbound"`
|
||||||
OutboundConfigValue *ConnectionConfig `json:"outbound"`
|
OutboundConfigValue *ConnectionConfig `json:"outbound"`
|
||||||
InboundDetoursValue []*InboundDetourConfig `json:"inboundDetour"`
|
InboundDetoursValue []*InboundDetourConfig `json:"inboundDetour"`
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
"tag": "direct"
|
"tag": "direct"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"router": {
|
"routing": {
|
||||||
"strategy": "rules",
|
"strategy": "rules",
|
||||||
"settings": {
|
"settings": {
|
||||||
"rules": [
|
"rules": [
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
"tag": "blocked"
|
"tag": "blocked"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"router": {
|
"routing": {
|
||||||
"strategy": "rules",
|
"strategy": "rules",
|
||||||
"settings": {
|
"settings": {
|
||||||
"rules": [
|
"rules": [
|
||||||
|
|
Loading…
Reference in New Issue