Is the subscription page QR code behavior correct? #240
Replies: 1 comment
-
|
The solution is to install the official custom template from https://github.com/PasarGuard/subscription-template 1. Create templates directorysudo mkdir -p /var/lib/pasarguard/templates/subscription 2. Download the English templatesudo wget -N -O /var/lib/pasarguard/templates/subscription/index.html https://github.com/PasarGuard/subscription-template/releases/latest/download/en.html 3. Edit ./envecho 'CUSTOM_TEMPLATES_DIRECTORY="/var/lib/pasarguard/templates/"' | sudo tee -a /opt/pasarguard/.env 4. Restartsudo pasarguard restart Now the QR code shows the subscription URL and works perfectly with Clash Meta, v2rayNG, etc. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When I open the subscription page (/sub/{token}) in a browser, the QR code displays individual proxy links (e.g., vless://...) instead of the subscription URL itself.
Note: The QR code in the user profile page (admin panel) correctly shows the subscription URL and works fine. However, the QR code on the actual subscription page (/sub/{token}) that users access shows vless:// links instead.
Is this the expected behavior?
In Marzban, i think the QR code on the subscription page contains the subscription URL so users can scan it directly with their VPN client (Clash Meta, v2rayNG, etc.) and the subscription rules automatically apply.
Currently, users have to manually copy the subscription URL instead of scanning the QR code from the subscription page. Should the QR code on the subscription page show the subscription URL (http://example.com/sub/{token}) instead of individual vless:// links?
Beta Was this translation helpful? Give feedback.
All reactions