forked from mmdzov/luIP-marzban
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
71 lines (44 loc) · 1.08 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Address Configuration
ADDRESS=example.com
PORT_ADDRESS=443
SSL=false
# ------------------------------
# Marzban Configuration
P_USER=admin
P_PASS=admin
# ------------------------------
# App Configuration
# By default: each proxy can only handle 1 client.
MAX_ALLOW_USERS=1
# By default: 4 minutes
BAN_TIME=4
# ------------------------------
# Advanced Configuration
# By default: every 1 second
FETCH_INTERVAL_LOGS_WS=1
# By default: every 5 minutes
CHECK_INACTIVE_USERS_DURATION=5
# By default: every 1 minutes
CHECK_IPS_FOR_UNBAN_USERS=1
SSH_PORT=22
# ------------------------------
# API Configuration
# true | false
API_ENABLE=true
# Secret key for your tokens
API_SECRET=S@CrET
# e.g: https://domain.com/api
API_PATH=/api
# Set your username:password
API_LOGIN=admin:admin
# By default: 30 day
API_EXPIRE_TOKEN_AT=30
# e.g: https://domain.com:4000/api
API_PORT=3000
# ------------------------------
# Telegram bot Configuration
TG_ENABLE=false
# Your telegram bot token
TG_TOKEN=1234566789:CVDfsdcxCGERdfsC3DFs42FScxdvxcvfsd
# Get from @userinfobot
TG_ADMIN=123456789