Simplify SplitHTTP further, and add Caddyfile

This commit is contained in:
mmmray 2024-06-21 21:37:21 +02:00
parent f605cda6a0
commit f89fc355c6
4 changed files with 9 additions and 36 deletions

View File

@ -0,0 +1,5 @@
localhost:443 {
handle /split/* {
reverse_proxy http://127.0.0.1:1234
}
}

View File

@ -1,27 +1,12 @@
{
"log": {
"loglevel": "warning"
},
"routing": {
"rules": [
{
"ip": [
"geoip:private"
],
"outboundTag": "direct"
}
]
"loglevel": "debug"
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 10808,
"protocol": "socks"
},
{
"listen": "127.0.0.1",
"port": 10809,
"protocol": "http"
}
],
"outbounds": [
@ -52,11 +37,7 @@
}
},
"tag": "proxy"
},
{
"protocol": "freedom",
"tag": "direct"
}
]
}

View File

@ -1,15 +1,6 @@
{
"log": {
"loglevel": "warning"
},
"routing": {
"rules": [
{
"port": "443",
"network": "udp",
"outboundTag": "block"
}
]
"loglevel": "debug"
},
"inbounds": [
{
@ -44,11 +35,7 @@
{
"protocol": "freedom",
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "block"
}
]
}