mirror of
https://github.com/remnawave/panel.git
synced 2026-04-23 16:23:14 +00:00
fix: update directory paths in documentation from ~/opt/remnawave to /opt/remnawave
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user