From 9373fbcefd39e115e66745dafa8fa474dba82f0d Mon Sep 17 00:00:00 2001 From: lxhao61 <751142257@qq.com> Date: Fri, 14 Aug 2020 18:59:16 +0800 Subject: [PATCH] Create server.json (#7) --- VLESS+H2C+Caddy2/server.json | 54 ++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 VLESS+H2C+Caddy2/server.json diff --git a/VLESS+H2C+Caddy2/server.json b/VLESS+H2C+Caddy2/server.json new file mode 100644 index 0000000..a8d6cc9 --- /dev/null +++ b/VLESS+H2C+Caddy2/server.json @@ -0,0 +1,54 @@ +{ + "log": { + "loglevel": "warning" + }, + "inbounds": [ + { + "port": 2001, + "listen": "127.0.0.1", + "protocol": "vless", + "settings": { + "clients": [ + { + "id": "", + "email": "love@v2fly.org" + } + ] + }, + "streamSettings": { + "security": "none", + "network": "h2", + "httpSettings": { + "path": "/path", + "host": [ + "xx.com" + ] + } + } + } + ], + "outbounds": [ + { + "tag": "direct", + "protocol": "freedom", + "settings": {} + }, + { + "tag": "blocked", + "protocol": "blackhole", + "settings": {} + } + ], + "routing": { + "domainStrategy": "AsIs", + "rules": [ + { + "type": "field", + "ip": [ + "geoip:private" + ], + "outboundTag": "blocked" + } + ] + } +