mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-10 02:53:11 +00:00
7d3abd2153
fix address add reverse proxy examples
64 lines
1 KiB
JSON
64 lines
1 KiB
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"reverse": {
|
|
"portals": [
|
|
{
|
|
"tag": "portal",
|
|
"domain": "reverse.proxy"
|
|
}
|
|
]
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"tag": "external",
|
|
"port": 65511,
|
|
"protocol": "vmess",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "{{ uuid }}"
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"tag": "interconn",
|
|
"port": 65510,
|
|
"protocol": "vmess",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "{{ uuid }}"
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp"
|
|
}
|
|
}
|
|
],
|
|
"routing": {
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"external"
|
|
],
|
|
"outboundTag": "portal"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"interconn"
|
|
],
|
|
"domain": [],
|
|
"outboundTag": "portal"
|
|
}
|
|
]
|
|
}
|
|
} |