diff options
author | crupest <crupest@outlook.com> | 2024-11-11 01:12:29 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2024-12-22 17:45:13 +0800 |
commit | b834953fa61d816b9a955640ad12d244316ce904 (patch) | |
tree | 4197980a04943b42941d3fce7cb16d1f7ea400bd /templates/v2ray-config.json.template | |
parent | 7e85627eb0d0126baf1e698ffdeae0f3c5fc693d (diff) | |
download | crupest-b834953fa61d816b9a955640ad12d244316ce904.tar.gz crupest-b834953fa61d816b9a955640ad12d244316ce904.tar.bz2 crupest-b834953fa61d816b9a955640ad12d244316ce904.zip |
HALF WORK: 2024.12.22
code.
Diffstat (limited to 'templates/v2ray-config.json.template')
-rw-r--r-- | templates/v2ray-config.json.template | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/v2ray-config.json.template b/templates/v2ray-config.json.template new file mode 100644 index 0000000..33d3f16 --- /dev/null +++ b/templates/v2ray-config.json.template @@ -0,0 +1,29 @@ +{ + "inbounds": [ + { + "port": 10000, + "listen": "0.0.0.0", + "protocol": "vmess", + "settings": { + "clients": [ + { + "id": "$CRUPEST_V2RAY_TOKEN", + "alterId": 0 + } + ] + }, + "streamSettings": { + "network": "ws", + "wsSettings": { + "path": "/_$CRUPEST_V2RAY_PATH" + } + } + } + ], + "outbounds": [ + { + "protocol": "freedom", + "settings": {} + } + ] +}
\ No newline at end of file |