Skip to content

Commit

Permalink
fix: removed default private key for English document and added comma…
Browse files Browse the repository at this point in the history
…nds to generate them
  • Loading branch information
iamtheted authored Oct 28, 2024
1 parent 4a42b27 commit 73b777a
Showing 1 changed file with 26 additions and 6 deletions.
32 changes: 26 additions & 6 deletions marzban/en/docs/xray-inbounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ In this document we'll try to add every Xray inbound that you can use on Marzban
"example.com",
""
],
"privateKey": "AJPbj4ftkYhB_KG1amEVLG4NK51pdmsCGH6ScU6w62Q",
"privateKey": "read the notes down below",
"SpiderX": "/example",
"shortIds": [
"ea1058117be12087"
"read the notes down below"
]
}
},
Expand Down Expand Up @@ -75,10 +75,10 @@ In this document we'll try to add every Xray inbound that you can use on Marzban
"example.com",
""
],
"privateKey": "AJPbj4ftkYhB_KG1amEVLG4NK51pdmsCGH6ScU6w62Q",
"privateKey": "read the notes down below",
"SpiderX": "/example",
"shortIds": [
"ea1058117be12087"
"read the notes down below"
]
}
},
Expand Down Expand Up @@ -120,10 +120,10 @@ In this document we'll try to add every Xray inbound that you can use on Marzban
"example.com",
""
],
"privateKey": "AJPbj4ftkYhB_KG1amEVLG4NK51pdmsCGH6ScU6w62Q",
"privateKey": "read the notes down below",
"SpiderX": "/example",
"shortIds": [
"ea1058117be12087"
"read the notes down below"
]
}
},
Expand All @@ -139,6 +139,26 @@ In this document we'll try to add every Xray inbound that you can use on Marzban
```
:::

::: tip Tip
To get the `privateKey`, use the following command and place it in your Reality Inbound.

There is no need to add the `publicKey` as it will be generated automatically.

```bash
docker exec marzban-marzban-1 xray x25519
```
:::

::: tip Tip
To get the `shortId`, use the following command and place it in your Reality Inbound.

Including `ShortId` and `SpiderX` in your Reality Inbound is optional and their absence will not cause any issues.

```bash
openssl rand -hex 8
```
:::

## VLESS TLS

::: details VLESS HTTPUpgrade TLS
Expand Down

0 comments on commit 73b777a

Please sign in to comment.