nomadro/apps/ebook/deploy/read_nginx_conf.py
eric d93a355fd5 Migrate navmini/ebook/nomadweb into apps/ as same-origin portal subpaths.
Shield external portal jumps (keep EXTERNAL_* for later), serve /nav from static build, and proxy /book + /community to vertical Next apps with Caddy notes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 03:30:34 -05:00

9 lines
353 B
Python

#!/usr/bin/env python3
import paramiko
client = paramiko.SSHClient()
client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
client.connect("107.173.30.245", username="root", password="Xiao4669805", timeout=20)
_, stdout, _ = client.exec_command("cat /etc/nginx/conf.d/sing_box_VMess_HTTPUpgrade.conf")
print(stdout.read().decode())
client.close()