Skip to content

marzban-sub-قالب سابسکریپشن برای پنل مرزبان

Notifications You must be signed in to change notification settings

Afshin2023/marzban-sub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

SubPage screenshots

Usage

First you need to copy html file to your sever. You can do it by this:

cd /opt/marzban
apt install wget
wget https://raw.githubusercontent.com/x0sina/marzban-sub/main/index.html

Then you have to map it to your docker container. Add this line to volume section of docker-compose.yml:

(DO NOT REPLACE WHOLE FILE, Just the last line)

services:
    marzban:
        ...
        volumes:
            ...
            - /opt/marzban/index.html:/code/app/templates/subscription/index.html # this line

Now you can restart your marzban's docker:

marzban restart

استفاده

ابتدا فایل html file رو به سرور بفرستید. با دستور زیر میتونید این کارو بکنید:

cd /opt/marzban
apt install wget
wget https://raw.githubusercontent.com/x0sina/marzban-sub/main/index.html

حالا باید این فایل به به داکر مپ کنید. خط آخر رو به بخش volumes فایل docker-compose.yml اضافه کنید:

(کل فایل رو جایگزین نکنید!!! فقط خط آخر)

services:
    marzban:
        ...
        volumes:
            ...
            - /opt/marzban/index.html:/code/app/templates/subscription/index.html # this line

حالا مرزبان رو ری‌استارت کنید:

marzban restart

About

marzban-sub-قالب سابسکریپشن برای پنل مرزبان

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%