diff --git a/10-systems/servers/internal-proxy-vps.md b/10-systems/servers/internal-proxy-vps.md index b4c61d1..8cfe2d6 100644 --- a/10-systems/servers/internal-proxy-vps.md +++ b/10-systems/servers/internal-proxy-vps.md @@ -1,7 +1,7 @@ --- owner: gmikcon status: active -last_reviewed: 2026-09-18 +last_reviewed: 2026-09-21 review_interval: 90d confidence: high source_of_truth: ssh-host-verified @@ -61,7 +61,7 @@ The nginx proxy handles the `gnexus.space` domain family. -Enabled nginx sites (verified 2026-09-18): +Enabled nginx sites (verified 2026-09-21): - `auth.gnexus.space` - `bugtrail.gnexus.space` @@ -73,6 +73,7 @@ - `gnexus.space` - `jellyfin.gnexus.space` - `navi.gnexus.space` +- `tasks.gnexus.space` - `transcribe-demo.gnexus.space` - `transmission.gnexus.space` - `vmk-marginator.gnexus.space` @@ -104,6 +105,7 @@ | `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` | @@ -121,6 +123,7 @@ - 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. diff --git a/90-maintenance/pending-changes/20260921203531-247a407b.json b/90-maintenance/pending-changes/20260921203531-247a407b.json new file mode 100644 index 0000000..94aa30a --- /dev/null +++ b/90-maintenance/pending-changes/20260921203531-247a407b.json @@ -0,0 +1,19 @@ +{ + "id": "20260921203531-247a407b", + "kind": "doc", + "target": "10-systems/servers/internal-proxy-vps.md", + "summary": "Добавлен сайт tasks.gnexus.space (upstream 192.168.1.179:8135) и отдельный certbot-сертификат (до 2026-12-20)", + "reason": "Деплой gntodo: новый сайт tasks.gnexus.space (upstream 192.168.1.179:8135) и отдельный LE-сертификат на internal-proxy-vps. Обнаружено при деплое GNexus Tasks 2026-09-21.", + "payload": { + "content": "---\nowner: gmikcon\nstatus: active\nlast_reviewed: 2026-09-21\nreview_interval: 90d\nconfidence: high\nsource_of_truth: ssh-host-verified\n---\n\n# Internal Proxy VPS\n\nInternal proxy VPS that receives traffic from the external VPS through OpenVPN and forwards it to internal services.\n\n## Identity\n\n- Inventory id: `internal-proxy-vps`.\n- VM id: `ovpn_reserv`.\n- Hypervisor: `hp-proliant-dl380-g6`.\n- OS: Ubuntu 20.04.6 LTS.\n- Kernel: `5.4.0-216-generic`.\n- nginx: `nginx/1.18.0`.\n\n## Addresses\n\n- LAN address: `192.168.1.226`.\n- Libvirt/internal address: `192.168.105.181/24`.\n\n## Roles\n\n- OpenVPN client.\n- Internal nginx reverse proxy.\n- Main internal entrypoint for public `gnexus.space` traffic.\n- Host of the navi Proxy instance (port 8099).\n\n## Active Services\n\n- `nginx.service`\n- `openvpn@client.service`\n- `navi.service` (Navi server, agent system API)\n- `ssh.service`\n\n## Navi Proxy Instance\n\n- Service: `navi.service` (systemd, `Type=simple`, user `ubuntu`, enabled).\n- Unit file: `/etc/systemd/system/navi.service`.\n- Working directory: `/home/ubuntu/navi-1`.\n- ExecStart: `/home/ubuntu/navi-1/.venv/bin/navi-server`.\n- Listening port: `8099` (uvicorn, `0.0.0.0:8099`).\n- Health endpoint: `http://127.0.0.1:8099/health`.\n- Configuration: `/home/ubuntu/navi-1/.env` (contains `OLLAMA_API_KEY`, `OLLAMA_HOST=https://ollama.com`, embedding settings; no raw key values documented here).\n- No `ollama_backends.json` file exists in the working directory.\n\n## Listening TCP Ports\n\n- `22`\n- `80`\n- `443`\n- `8099` (navi.service)\n\n## Proxy Scope\n\nThe nginx proxy handles the `gnexus.space` domain family.\n\nEnabled nginx sites (verified 2026-09-21):\n\n- `auth.gnexus.space`\n- `bugtrail.gnexus.space`\n- `cloud.gnexus.space`\n- `creds.gnexus.space`\n- `files.gnexus.space`\n- `fuckjira.gnexus.space`\n- `git.gnexus.space`\n- `gnexus.space`\n- `jellyfin.gnexus.space`\n- `navi.gnexus.space`\n- `tasks.gnexus.space`\n- `transcribe-demo.gnexus.space`\n- `transmission.gnexus.space`\n- `vmk-marginator.gnexus.space`\n\nAvailable nginx site files that are not currently confirmed as enabled:\n\n- `anicusi.gnexus.space`\n- `cats.gnexus.space`\n- `fdroid.gnexus.space`\n- `ferumina.gnexus.space`\n- `lytvak.gnexus.space`\n- `mail.gnexus.space`\n- `minecraft.gnexus.space`\n- `ollama.gnexus.space`\n- `sups.gnexus.space`\n- `topics.gnexus.space`\n\n## Confirmed Proxy Mappings\n\n| Domain | Upstream |\n| --- | --- |\n| `auth.gnexus.space` | `http://192.168.1.167` |\n| `bugtrail.gnexus.space` | `http://192.168.1.177:80` |\n| `cloud.gnexus.space` | `http://192.168.1.152` |\n| `creds.gnexus.space` | `http://192.168.1.173` |\n| `files.gnexus.space` | `http://192.168.1.157` |\n| `fuckjira.gnexus.space` | `http://192.168.1.175:8080` |\n| `git.gnexus.space` | `http://192.168.1.156` |\n| `gnexus.space` | `http://192.168.1.151` |\n| `jellyfin.gnexus.space` | `http://192.168.1.153:8096` |\n| `navi.gnexus.space` | `http://192.168.1.168:8000` |\n| `tasks.gnexus.space` | `http://192.168.1.179:8135` |\n| `transcribe-demo.gnexus.space` | `http://192.168.1.75:5173` |\n| `transmission.gnexus.space` | `http://192.168.1.154:3000` |\n| `vmk-marginator.gnexus.space` | `http://192.168.1.178:8080` |\n\nKnown available but not confirmed enabled mappings:\n\n| Domain | Upstream |\n| --- | --- |\n| `lytvak.gnexus.space` | `http://192.168.1.167` |\n| `minecraft.gnexus.space` | `tcp://192.168.1.218:25565` |\n\nProxying 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.\n\n## TLS Certificates (certbot)\n\n- 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).\n- 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.\n- 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).\n- Other sites use the shared `gnexus.space` multi-SAN certificate (10 SANs, unchanged by this work).\n\nNo raw credentials are documented here." + }, + "status": "applied", + "created_at": "2026-09-21T20:35:31Z", + "updated_at": "2026-09-21T20:35:32Z", + "applied_at": "2026-09-21T20:35:32Z", + "validation": { + "status": "ok", + "issue_count": 0, + "issues": [] + } +}