hwid: per-user device limit like Remnawave (x-hwid header, opt-in)
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
7b5fd8dceb
commit
fe579430bd
6 changed files with 184 additions and 1 deletions
|
|
@ -54,3 +54,10 @@ YOOKASSA_SECRET_KEY=
|
|||
PLATEGA_ENABLED=false
|
||||
PLATEGA_MERCHANT_ID=
|
||||
PLATEGA_SECRET=
|
||||
|
||||
# Device limit (HWID) — off by default. Requires the VPN client app to send an
|
||||
# x-hwid header on subscription fetch (Happ/v2rayTun-class apps do this); clients
|
||||
# that don't send it get refused once enabled, so only flip this on if your users'
|
||||
# apps actually support it.
|
||||
HWID_LIMIT_ENABLED=false
|
||||
HWID_FALLBACK_LIMIT=3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue