update
This commit is contained in:
parent
cf61ead0ab
commit
f4ee8e5f9d
@ -4,7 +4,7 @@
|
|||||||
xray x25519 > ../conf/key.txt
|
xray x25519 > ../conf/key.txt
|
||||||
echo "success save keys to key.txt"
|
echo "success save keys to key.txt"
|
||||||
|
|
||||||
private_key = $(grep "Public key" ../conf/key.txt | awk -F ': ' '{print $2}'
|
private_key=$(grep "Public key" ../conf/key.txt | awk -F ': ' '{print $2}')
|
||||||
|
|
||||||
# # update config.json
|
# # update config.json
|
||||||
jq ".inbounds[0].streamSettings.realitySettings.privateKey=\"$private_key\"" ../conf/config.json > ../conf/config_temp.json
|
jq ".inbounds[0].streamSettings.realitySettings.privateKey=\"$private_key\"" ../conf/config.json > ../conf/config_temp.json
|
||||||
|
|||||||
@ -45,7 +45,7 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"clients": [
|
"clients": [
|
||||||
{
|
{
|
||||||
"id": "c51f8991-42e5-4ff2-a028-xxxxxxxxxx",
|
"id": "6b879520-fcaf-46d7-b1d8-ac7c2e5d911c",
|
||||||
"flow": "xtls-rprx-vision"
|
"flow": "xtls-rprx-vision"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@ -63,7 +63,7 @@
|
|||||||
"serverNames": [
|
"serverNames": [
|
||||||
"www.expedia.com"
|
"www.expedia.com"
|
||||||
],
|
],
|
||||||
"privateKey": "xxxxxxxxx",
|
"privateKey": "EddGs_f37IbjDs4I9iW5PVdV64RaiSuaaXywOYCPijE",
|
||||||
"shortIds": [
|
"shortIds": [
|
||||||
""
|
""
|
||||||
]
|
]
|
||||||
|
|||||||
@ -1,2 +0,0 @@
|
|||||||
Private key: KJ42elMcVqM1b0-5Ny3iCUZVlvelibWKnGoF1kdklig
|
|
||||||
Public key: 0hBmzH75m67yWOp6z7Z67WFHT7gJ6o3Nql5Jc5nC6WU
|
|
||||||
Loading…
Reference in New Issue
Block a user