Generate and deploy real WG/AWG configs to VPS over SSH

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-25 21:38:22 +03:00
co-authored by Cursor
parent 321a5b2504
commit cd106b68bc
10 changed files with 477 additions and 35 deletions
+6 -1
View File
@@ -23,7 +23,12 @@
<div class="panel-head"><strong>QR‑код</strong></div>
<div class="panel-body">
<img class="qr" src="/admin/clients/{{ client.id }}/qr" alt="QR config" />
<p class="muted" style="margin-top:0.8rem">Отсканируйте в клиенте WireGuard / AmneziaWG.</p>
<p class="muted" style="margin-top:0.8rem">
Готовый рабочий конфиг: скачайте `.conf` или отсканируйте QR в WireGuard / AmneziaWG.
{% if not client.server.vpn_installed %}
<br><strong>Сначала нажмите «Установить VPN на сервер» в разделе Серверы</strong> — иначе пиры не будут на VPS.
{% endif %}
</p>
{% if client.notes %}
<p><strong>Заметка:</strong> {{ client.notes }}</p>
{% endif %}