From 2b6d0500022a7d5f39421cc10885f36300e9aa57 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 26 May 2022 18:12:30 +0000 Subject: [PATCH] add caddy --- .gitignore | 1 + config.json.tp | 27 ++++++++++++++++++++++++--- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6704566..d891e84 100644 --- a/.gitignore +++ b/.gitignore @@ -102,3 +102,4 @@ dist # TernJS port file .tern-port +.local/ diff --git a/config.json.tp b/config.json.tp index f966112..2245e0e 100644 --- a/config.json.tp +++ b/config.json.tp @@ -29,13 +29,34 @@ "level": 0 } ], - "decryption": "none" + "decryption": "none" }, "streamSettings": { "network": "ws", + "security": "none" + } + }, + { + "port": 8082, + "listen": "127.0.0.1", + "protocol": "vless", + "settings": { + "clients": [ + { + "id": "$UUID", + "level": 0 + } + ], + "decryption": "none" + }, + "streamSettings": { "security": "none", - "wsSettings": { - "path": "/ws" + "network": "h2", + "httpSettings": { + "path": "/h2", + "host": [ + "herokuapp.com" + ] } } }