This commit is contained in:
root
2024-02-28 14:05:08 +00:00
parent cf61ead0ab
commit f4ee8e5f9d
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
xray x25519 > ../conf/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
jq ".inbounds[0].streamSettings.realitySettings.privateKey=\"$private_key\"" ../conf/config.json > ../conf/config_temp.json
+2 -2
View File
@@ -45,7 +45,7 @@
"settings": {
"clients": [
{
"id": "c51f8991-42e5-4ff2-a028-xxxxxxxxxx",
"id": "6b879520-fcaf-46d7-b1d8-ac7c2e5d911c",
"flow": "xtls-rprx-vision"
}
],
@@ -63,7 +63,7 @@
"serverNames": [
"www.expedia.com"
],
"privateKey": "xxxxxxxxx",
"privateKey": "EddGs_f37IbjDs4I9iW5PVdV64RaiSuaaXywOYCPijE",
"shortIds": [
""
]
-2
View File
@@ -1,2 +0,0 @@
Private key: KJ42elMcVqM1b0-5Ny3iCUZVlvelibWKnGoF1kdklig
Public key: 0hBmzH75m67yWOp6z7Z67WFHT7gJ6o3Nql5Jc5nC6WU