mirror of
https://github.com/house-of-vanity/house-of-vanity.github.io.git
synced 2025-07-07 00:34:07 +00:00
Fix
This commit is contained in:
committed by
GitHub
parent
6fc06ea8ed
commit
e9fb829870
2
.github/workflows/build-and-publish.yaml
vendored
2
.github/workflows/build-and-publish.yaml
vendored
@ -9,7 +9,7 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3.0.0
|
uses: actions/checkout@v3.0.0
|
||||||
- name: Set commit id
|
- 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
|
- name: Build and push to gh-pages branch
|
||||||
uses: shalzz/zola-deploy-action@v0.17.2
|
uses: shalzz/zola-deploy-action@v0.17.2
|
||||||
env:
|
env:
|
||||||
|
@ -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:
|
First, generate the necessary keys and IDs:
|
||||||
|
|
||||||
```shell
|
```sh
|
||||||
# Generate X25519 keys using Xray's built-in command
|
# Generate X25519 keys using Xray's built-in command
|
||||||
_x25519=$(xray x25519)
|
_x25519=$(xray x25519)
|
||||||
PRIVATE_KEY=$(echo "$_x25519" | awk -F': ' '/Private key/{print $2}')
|
PRIVATE_KEY=$(echo "$_x25519" | awk -F': ' '/Private key/{print $2}')
|
||||||
@ -47,7 +47,8 @@ PORT=8443
|
|||||||
|
|
||||||
Create the server configuration file `server.json`:
|
Create the server configuration file `server.json`:
|
||||||
|
|
||||||
```shell
|
```sh
|
||||||
|
# /usr/local/etc/xray/config.json
|
||||||
cat > server.json <<EOF
|
cat > server.json <<EOF
|
||||||
{
|
{
|
||||||
"log": {
|
"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`:
|
Create the client configuration file `client.json`:
|
||||||
|
|
||||||
```shell
|
```sh
|
||||||
|
# /usr/local/etc/xray/config.json
|
||||||
cat > client.json <<EOF
|
cat > client.json <<EOF
|
||||||
{
|
{
|
||||||
"log": {
|
"log": {
|
||||||
|
Reference in New Issue
Block a user