Skip to content

Commit

Permalink
Fixed wget instructions for .env
Browse files Browse the repository at this point in the history
  • Loading branch information
UnAfraid authored Oct 2, 2024
1 parent fcbbab2 commit 0734d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ sudo pacman -U --noconfirm wg-ui_*_linux_arm64.pkg.tar.zst
wget https://raw.githubusercontent.com/UnAfraid/wg-ui/master/docker-compose.yaml

# Download the default .env file
wget -O .env https://github.com/UnAfraid/wg-ui/blob/master/.env.dist
wget -O .env https://raw.githubusercontent.com/UnAfraid/wg-ui/master/.env.dist

# Generate random jwt secret
sed -i "s|WG_UI_JWT_SECRET=Any_secret_base64_value_here|WG_UI_JWT_SECRET=$(head -c 128 </dev/urandom | base64 -w 0 -)|g" .env
Expand Down

0 comments on commit 0734d1b

Please sign in to comment.