mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-09-21 22:54:28 +08:00
Compare commits
3 Commits
Del-`path`
...
fed1f84cc6
Author | SHA1 | Date | |
---|---|---|---|
|
fed1f84cc6 | ||
|
eb229f5576 | ||
|
f89fc355c6 |
5
VLESS-TLS-SplitHTTP-CaddyNginx/Caddyfile
Normal file
5
VLESS-TLS-SplitHTTP-CaddyNginx/Caddyfile
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
localhost:443 {
|
||||||
|
handle /split/* {
|
||||||
|
reverse_proxy http://127.0.0.1:1234
|
||||||
|
}
|
||||||
|
}
|
@@ -2,26 +2,14 @@
|
|||||||
"log": {
|
"log": {
|
||||||
"loglevel": "warning"
|
"loglevel": "warning"
|
||||||
},
|
},
|
||||||
"routing": {
|
|
||||||
"rules": [
|
|
||||||
{
|
|
||||||
"ip": [
|
|
||||||
"geoip:private"
|
|
||||||
],
|
|
||||||
"outboundTag": "direct"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"inbounds": [
|
"inbounds": [
|
||||||
{
|
{
|
||||||
"listen": "127.0.0.1",
|
"listen": "127.0.0.1",
|
||||||
"port": 10808,
|
"port": 10808,
|
||||||
"protocol": "socks"
|
"protocol": "socks",
|
||||||
},
|
"settings": {
|
||||||
{
|
"udp": true
|
||||||
"listen": "127.0.0.1",
|
}
|
||||||
"port": 10809,
|
|
||||||
"protocol": "http"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"outbounds": [
|
"outbounds": [
|
||||||
@@ -52,10 +40,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tag": "proxy"
|
"tag": "proxy"
|
||||||
},
|
|
||||||
{
|
|
||||||
"protocol": "freedom",
|
|
||||||
"tag": "direct"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@@ -2,15 +2,6 @@
|
|||||||
"log": {
|
"log": {
|
||||||
"loglevel": "warning"
|
"loglevel": "warning"
|
||||||
},
|
},
|
||||||
"routing": {
|
|
||||||
"rules": [
|
|
||||||
{
|
|
||||||
"port": "443",
|
|
||||||
"network": "udp",
|
|
||||||
"outboundTag": "block"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"inbounds": [
|
"inbounds": [
|
||||||
{
|
{
|
||||||
"listen": "127.0.0.1",
|
"listen": "127.0.0.1",
|
||||||
@@ -44,10 +35,6 @@
|
|||||||
{
|
{
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"tag": "direct"
|
"tag": "direct"
|
||||||
},
|
|
||||||
{
|
|
||||||
"protocol": "blackhole",
|
|
||||||
"tag": "block"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Reference in New Issue
Block a user