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 68% rename from VLESS-TLS-splitHttp-Nginx/client.json rename to VLESS-TLS-SplitHTTP-CaddyNginx/client.json index 0ac5acb..ce92006 100644 --- a/VLESS-TLS-splitHttp-Nginx/client.json +++ b/VLESS-TLS-SplitHTTP-CaddyNginx/client.json @@ -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" } ] } - \ 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 73% rename from VLESS-TLS-splitHttp-Nginx/server.json rename to VLESS-TLS-SplitHTTP-CaddyNginx/server.json index b68d4d1..e274341 100644 --- a/VLESS-TLS-splitHttp-Nginx/server.json +++ b/VLESS-TLS-SplitHTTP-CaddyNginx/server.json @@ -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" } ] } - \ No newline at end of file +