1
0
mirror of https://github.com/house-of-vanity/house-of-vanity.github.io.git synced 2026-05-06 22:41:20 +00:00
This commit is contained in:
Alexandr Bogomyakov
2024-10-04 03:32:21 +03:00
committed by GitHub
parent 6fc06ea8ed
commit e9fb829870
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3.0.0
- name: Set commit id
run: sed -e "s/tag\ =.*/tag = \"${{ github.sha }}\"/" -i config.toml
run: sed -e "s/tag\ =.*/tag = \"${{ github.sha.substr(0,7) }}\"/" -i config.toml
- name: Build and push to gh-pages branch
uses: shalzz/zola-deploy-action@v0.17.2
env:
+5 -3
View File
@@ -26,7 +26,7 @@ sudo bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-re
First, generate the necessary keys and IDs:
```shell
```sh
# Generate X25519 keys using Xray's built-in command
_x25519=$(xray x25519)
PRIVATE_KEY=$(echo "$_x25519" | awk -F': ' '/Private key/{print $2}')
@@ -47,7 +47,8 @@ PORT=8443
Create the server configuration file `server.json`:
```shell
```sh
# /usr/local/etc/xray/config.json
cat > server.json <<EOF
{
"log": {
@@ -101,7 +102,8 @@ This configuration sets up an inbound VLESS listener over HTTP/2 with Reality se
Create the client configuration file `client.json`:
```shell
```sh
# /usr/local/etc/xray/config.json
cat > client.json <<EOF
{
"log": {