Newer
Older
gnexus-book / 10-systems / servers / internal-proxy-vps.md

owner: gmikcon status: active last_reviewed: 2026-09-21 review_interval: 90d confidence: high

source_of_truth: ssh-host-verified

Internal Proxy VPS

Internal proxy VPS that receives traffic from the external VPS through OpenVPN and forwards it to internal services.

Identity

  • Inventory id: internal-proxy-vps.
  • VM id: ovpn_reserv.
  • Hypervisor: hp-proliant-dl380-g6.
  • OS: Ubuntu 20.04.6 LTS.
  • Kernel: 5.4.0-216-generic.
  • nginx: nginx/1.18.0.

Addresses

  • LAN address: 192.168.1.226.
  • Libvirt/internal address: 192.168.105.181/24.

Roles

  • OpenVPN client.
  • Internal nginx reverse proxy.
  • Main internal entrypoint for public gnexus.space traffic.
  • Host of the navi Proxy instance (port 8099).

Active Services

  • nginx.service
  • openvpn@client.service
  • navi.service (Navi server, agent system API)
  • ssh.service
  • Service: navi.service (systemd, Type=simple, user ubuntu, enabled).
  • Unit file: /etc/systemd/system/navi.service.
  • Working directory: /home/ubuntu/navi-1.
  • ExecStart: /home/ubuntu/navi-1/.venv/bin/navi-server.
  • Listening port: 8099 (uvicorn, 0.0.0.0:8099).
  • Health endpoint: http://127.0.0.1:8099/health.
  • Configuration: /home/ubuntu/navi-1/.env (contains OLLAMA_API_KEY, OLLAMA_HOST=https://ollama.com, embedding settings; no raw key values documented here).
  • No ollama_backends.json file exists in the working directory.

Listening TCP Ports

  • 22
  • 80
  • 443
  • 8099 (navi.service)

Proxy Scope

The nginx proxy handles the gnexus.space domain family.

Enabled nginx sites (verified 2026-09-21):

  • auth.gnexus.space
  • bugtrail.gnexus.space
  • cloud.gnexus.space
  • creds.gnexus.space
  • files.gnexus.space
  • fuckjira.gnexus.space
  • git.gnexus.space
  • gnexus.space
  • jellyfin.gnexus.space
  • navi.gnexus.space
  • tasks.gnexus.space
  • transcribe-demo.gnexus.space
  • transmission.gnexus.space
  • vmk-marginator.gnexus.space

Available nginx site files that are not currently confirmed as enabled:

  • anicusi.gnexus.space
  • cats.gnexus.space
  • fdroid.gnexus.space
  • ferumina.gnexus.space
  • lytvak.gnexus.space
  • mail.gnexus.space
  • minecraft.gnexus.space
  • ollama.gnexus.space
  • sups.gnexus.space
  • topics.gnexus.space

Confirmed Proxy Mappings

Domain Upstream
auth.gnexus.space http://192.168.1.167
bugtrail.gnexus.space http://192.168.1.177:80
cloud.gnexus.space http://192.168.1.152
creds.gnexus.space http://192.168.1.173
files.gnexus.space http://192.168.1.157
fuckjira.gnexus.space http://192.168.1.175:8080
git.gnexus.space http://192.168.1.156
gnexus.space http://192.168.1.151
jellyfin.gnexus.space http://192.168.1.153:8096
navi.gnexus.space http://192.168.1.168:8000
tasks.gnexus.space http://192.168.1.179:8135
transcribe-demo.gnexus.space http://192.168.1.75:5173
transmission.gnexus.space http://192.168.1.154:3000
vmk-marginator.gnexus.space http://192.168.1.178:8080

Known available but not confirmed enabled mappings:

Domain Upstream
lytvak.gnexus.space http://192.168.1.167
minecraft.gnexus.space tcp://192.168.1.218:25565

Proxying is mixed by hostname, path, and ports. SSH forwarding to the internal alex VPS on a custom port is believed to exist and still needs confirmation from nginx or firewall configuration.

TLS Certificates (certbot)

  • Separate certbot certificate for bugtrail.gnexus.space issued 2026-09-18 (nginx authenticator, http-01). Files: /etc/letsencrypt/live/bugtrail.gnexus.space/fullchain.pem and privkey.pem, valid until 2026-12-17, CN=bugtrail.gnexus.space, issuer Let's Encrypt (YR2).
  • The bugtrail.gnexus.space nginx site has both an HTTP :80 block (no redirect) and an HTTPS :443 block using the dedicated certificate, both proxying to http://192.168.1.177:80 with standard proxy headers.
  • Separate certbot certificate for tasks.gnexus.space issued 2026-09-21 (nginx authenticator, http-01). Files: /etc/letsencrypt/live/tasks.gnexus.space/fullchain.pem and privkey.pem, valid until 2026-12-20. Site tasks.gnexus.space proxies to http://192.168.1.179:8135 (gntodo stack): :80 block (no redirect) + :443 block with the dedicated certificate, client_max_body_size 12m, proxy_set_header Host $host (required — /mcp Host check), X-Forwarded-Proto https, and proxy_buffering off + proxy_read_timeout 300s on /api/ and /mcp/ (SSE). Site created by the Proxy navi instance, :443 block completed by rei (2026-09-21).
  • Other sites use the shared gnexus.space multi-SAN certificate (10 SANs, unchanged by this work).

No raw credentials are documented here.