mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-09 18:43:13 +00:00
7d3abd2153
fix address add reverse proxy examples
61 lines
1,009 B
JSON
61 lines
1,009 B
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"reverse": {
|
|
"bridges": [
|
|
{
|
|
"tag": "bridge",
|
|
"domain": "reverse.proxy"
|
|
}
|
|
]
|
|
},
|
|
"outbounds": [
|
|
{
|
|
"tag": "interconn",
|
|
"protocol": "vmess",
|
|
"settings": {
|
|
"vnext": [
|
|
{
|
|
"address": "{{ protal.address }}",
|
|
"port": 65510,
|
|
"users": [
|
|
{
|
|
"id": "{{ uuid }}"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp"
|
|
}
|
|
},
|
|
{
|
|
"protocol": "freedom",
|
|
"settings": {},
|
|
"tag": "out"
|
|
}
|
|
],
|
|
"routing": {
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"bridge"
|
|
],
|
|
"domain": [
|
|
"full:reverse.proxy"
|
|
],
|
|
"outboundTag": "interconn"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"bridge"
|
|
],
|
|
"outboundTag": "out"
|
|
}
|
|
]
|
|
}
|
|
} |