mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-09 02:23:16 +00:00
7d3abd2153
fix address add reverse proxy examples
58 lines
1,008 B
JSON
58 lines
1,008 B
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"reverse": {
|
|
"bridges": [
|
|
{
|
|
"tag": "bridge",
|
|
"domain": "reverse.proxy"
|
|
}
|
|
]
|
|
},
|
|
"outbounds": [
|
|
{
|
|
"tag": "interconn",
|
|
"protocol": "shadowsocks",
|
|
"settings": {
|
|
"servers": [
|
|
{
|
|
"address": "{{ protal.address }}",
|
|
"port": 65510,
|
|
"method": "2022-blake3-aes-256-gcm",
|
|
"password": "{{ psk interconn }}"
|
|
}
|
|
]
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
} |