Update subscription-templates.md

This commit is contained in:
Alexey
2025-04-07 14:41:22 +03:00
committed by GitHub
parent 38a2b4f0e0
commit 573cdb5848

View File

@@ -53,6 +53,8 @@ services:
- SUBSCRIPTION_PAGE_PORT=3010
- META_TITLE="Subscription Page Title"
- META_DESCRIPTION="Subscription Page Description"
// highlight-next-line-green
- CUSTOM_SUB_PREFIX=custom
ports:
- '127.0.0.1:3010:3010'
networks:
@@ -70,6 +72,14 @@ Please, replace `panel.com` with URL which Remnawave Dashboard is available at.
:::
:::tip
You can replace the `- CUSTOM_SUB_PREFIX=custom` parameter with, for example, `- CUSTOM_SUB_PREFIX=sub` to get an additional nested path for the subscription page.
But in that case, in `.env` for the `remnawave` container, you will need to set the corresponding parameter correctly: `SUB_PUBLIC_DOMAIN=link.domain.com/sub`.
And you will need to specify similar changes to the valid path in your configurations for nginx or caddy.
:::
### Step 3: Start the container
```bash