Marzneshin decides what to return by subscription rules: User-Agent pattern → response format. Add a rule above the generic ones:
| Pattern | Result |
|---|---|
^nya/ | base64-links (recommended); links, xray, sing-box, clash-meta also work |
Profile title, support link and update interval come as profile-title, support-url, profile-update-interval; user data as subscription-userinfo. The disabled-user placeholder appears as a message row. Add renew-url/announce/routing via nginx as for Marzban.