fix: update directory paths in documentation from ~/opt/remnawave to /opt/remnawave

This commit is contained in:
kastov
2025-05-11 01:22:01 +03:00
parent 31f3840a4d
commit 598a489fa5
9 changed files with 15 additions and 15 deletions

View File

@@ -15,10 +15,10 @@ In order to recreate the container using docker compose, run `docker compose dow
## Change environment variables
You can change environment variables by editing the `.env` file. Most likely it is located in `~/opt/remnawave`.
You can change environment variables by editing the `.env` file. Most likely it is located in `/opt/remnawave`.
```bash title="Edit .env file"
cd ~/opt/remnawave && nano .env
cd /opt/remnawave && nano .env
```
## Ports

View File

@@ -11,7 +11,7 @@ Caddy is a powerful and flexible web server that can be used to secure your Remn
First of all, create a directory for Caddy.
```bash
mkdir -p ~/opt/remnawave/caddy && cd ~/opt/remnawave/caddy
mkdir -p /opt/remnawave/caddy && cd /opt/remnawave/caddy
```
Then create a `docker-compose.yml` file.
@@ -191,7 +191,7 @@ If you want to completely disable MFA, you can do this by editing the `Caddyfile
Open the `Caddyfile` and change the following line:
```bash
cd ~/opt/remnawave/caddy && nano Caddyfile
cd /opt/remnawave/caddy && nano Caddyfile
```
Find the following lines, and remove the `require mfa` line.

View File

@@ -11,7 +11,7 @@ Caddy is a powerful and flexible web server that can be used to secure your Remn
First of all, create a directory for Caddy.
```bash
mkdir -p ~/opt/remnawave/caddy && cd ~/opt/remnawave/caddy
mkdir -p /opt/remnawave/caddy && cd /opt/remnawave/caddy
```
And create a `docker-compose.yml` file.
@@ -171,7 +171,7 @@ If you want to completly disable MFA, you can do this by editing the `Caddyfile`
Open the `Caddyfile` and change the following line:
```bash
cd ~/opt/remnawave/caddy && nano Caddyfile
cd /opt/remnawave/caddy && nano Caddyfile
```
Find the following lines, and remove the `require mfa` line.

View File

@@ -11,10 +11,10 @@ Remnawave Subscription Page is lightweight and secure way to hide your Remnawave
## Step 1 - Prepare .env file
Edit the `~/opt/remnawave/.env` file and change `SUB_PUBLIC_DOMAIN` to your subscription page domain name.
Edit the `/opt/remnawave/.env` file and change `SUB_PUBLIC_DOMAIN` to your subscription page domain name.
```bash title="Editing .env file"
cd ~/opt/remnawave && nano .env
cd /opt/remnawave && nano .env
```
Change `SUB_PUBLIC_DOMAIN` to your subscription page domain name.

View File

@@ -7,7 +7,7 @@ sidebar_position: 99
## Remnawave Panel
```bash title="Update and restart"
cd ~/opt/remnawave && docker compose pull && docker compose down && docker compose up -d && docker compose logs -f
cd /opt/remnawave && docker compose pull && docker compose down && docker compose up -d && docker compose logs -f
```
```bash title="Clean unused images"
@@ -17,5 +17,5 @@ docker image prune
## Remnawave Node
```bash title="Update and restart"
cd ~/opt/remnanode && docker compose pull && docker compose down && docker compose up -d && docker compose logs -f
cd /opt/remnanode && docker compose pull && docker compose down && docker compose up -d && docker compose logs -f
```