Compare commits

...

3 Commits

Author SHA1 Message Date
风扇滑翔翼
fed1f84cc6 enable udp 2024-06-22 04:35:49 +08:00
mmmray
eb229f5576 raise log level 2024-06-21 22:30:08 +02:00
mmmray
f89fc355c6 Simplify SplitHTTP further, and add Caddyfile 2024-06-21 21:37:21 +02:00
4 changed files with 11 additions and 35 deletions

View File

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

View File

@@ -2,26 +2,14 @@
"log": {
"loglevel": "warning"
},
"routing": {
"rules": [
{
"ip": [
"geoip:private"
],
"outboundTag": "direct"
}
]
},
"inbounds": [
{
"listen": "127.0.0.1",
"port": 10808,
"protocol": "socks"
},
{
"listen": "127.0.0.1",
"port": 10809,
"protocol": "http"
"protocol": "socks",
"settings": {
"udp": true
}
}
],
"outbounds": [
@@ -52,11 +40,7 @@
}
},
"tag": "proxy"
},
{
"protocol": "freedom",
"tag": "direct"
}
]
}

View File

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