diff --git a/VLESS-TLS-SplitHTTP-CaddyNginx/Caddyfile b/VLESS-TLS-SplitHTTP-CaddyNginx/Caddyfile new file mode 100644 index 0000000..c2aca34 --- /dev/null +++ b/VLESS-TLS-SplitHTTP-CaddyNginx/Caddyfile @@ -0,0 +1,5 @@ +localhost:443 { + handle /split/* { + reverse_proxy http://127.0.0.1:1234 + } +} diff --git a/VLESS-TLS-splitHttp-Nginx/client.json b/VLESS-TLS-SplitHTTP-CaddyNginx/client.json similarity index 69% rename from VLESS-TLS-splitHttp-Nginx/client.json rename to VLESS-TLS-SplitHTTP-CaddyNginx/client.json index 0ac5acb..fdd5272 100644 --- a/VLESS-TLS-splitHttp-Nginx/client.json +++ b/VLESS-TLS-SplitHTTP-CaddyNginx/client.json @@ -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" } ] } - \ No newline at end of file + diff --git a/VLESS-TLS-splitHttp-Nginx/nginx.conf b/VLESS-TLS-SplitHTTP-CaddyNginx/nginx.conf similarity index 100% rename from VLESS-TLS-splitHttp-Nginx/nginx.conf rename to VLESS-TLS-SplitHTTP-CaddyNginx/nginx.conf diff --git a/VLESS-TLS-splitHttp-Nginx/server.json b/VLESS-TLS-SplitHTTP-CaddyNginx/server.json similarity index 75% rename from VLESS-TLS-splitHttp-Nginx/server.json rename to VLESS-TLS-SplitHTTP-CaddyNginx/server.json index b68d4d1..b6d23dd 100644 --- a/VLESS-TLS-splitHttp-Nginx/server.json +++ b/VLESS-TLS-SplitHTTP-CaddyNginx/server.json @@ -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" } ] } - \ No newline at end of file +