# Nginx Proxy Manager Abgleich — 2026-06-19

## Kontext

Abgleich nach Cleanup von alten DMZ-K3s Diensten:

- `dashy`
- `portainer`
- `bitwarden` Namespace
- `kubernetes-dashboard`
- `keycloak`
- `default/my-release`
- `hf-matomo`

Nginx Proxy Manager Host: `192.168.20.20`, Container `ngm2-app-1`.

## Aktive Proxy Hosts vor Cleanup

| ID | Domain | Forward | Status |
| --- | --- | --- | --- |
| 1 | `nextcloud.cattaro.eu` | `http://192.168.20.30:80` | Upstream-Port offen, HTTP `302` |
| 2 | `service.heckenfels.com` | `http://192.168.20.40:8080` | OK, HTTP `200`, Zammad |
| 3 | `office.cattaro.eu` | `http://192.168.188.40:80` | Upstream-Port geschlossen/nicht erreichbar, Domain-Test `000` |
| 4 | `meshcentral.cattaro.eu` | `http://192.168.188.42:2087` | Upstream-Port geschlossen/nicht erreichbar, Domain-Test `000` |
| 5 | `dashboard.heckenfels.com` | `http://192.168.20.40:30718` | OK, Homarr, HTTP `307` nach `/board` |
| 6 | `bitwarden.cattaro.eu` | `http://192.168.20.20:8080` | Kaputt/Altlast, Port geschlossen, Domain-Test `502` |
| 7 | `matomo.heckenfels.com` | `http://192.168.20.40:80` | OK, neuer `pidoka-hf-matomo` Stack antwortet HTTP `200` |
| 8 | `argocd.cattaro.eu` | `http://192.168.20.40:31797` | Alt/kaputt, kein aktueller Ingress, HTTP `404` |
| 9 | `mautic.heckenfels.com` | `http://192.168.20.40:31797` | OK, aktueller Ingress, HTTP `302` |
| 10 | `crm.heckenfels.com` | `http://192.168.20.40:31797` | Alt/kaputt, kein aktueller Ingress, HTTP `404` |
| 11 | `suitecrm.heckenfels.com` | `http://192.168.20.40:31797` | OK, aktueller Ingress, HTTP `200` |
| 12 | `n8n.heckenfels.com` | `https://192.168.20.40:443` | OK, aktueller Ingress, HTTP `200` |

## Kubernetes Ingress Abgleich

Aktuelle Ingress Hosts:

- `n8n.heckenfels.com` -> `hf-n8n/n8n`
- `matomo.heckenfels.com` -> `pidoka-hf-matomo/matomo-ingress`
- `mautic.heckenfels.com` -> `hf-mautic/mautic-ingress`
- `suitecrm.heckenfels.com` -> `hf-suitecrm/suitecrm-ingress`

Nicht mehr als aktueller Ingress vorhanden:

- `crm.heckenfels.com`
- `argocd.cattaro.eu`

## Empfehlung

Sichere NPM-Cleanup-Kandidaten nach OK:

1. `bitwarden.cattaro.eu`
   - Port `192.168.20.20:8080` geschlossen.
   - Kubernetes Namespace `bitwarden` wurde geloescht.
   - Domain liefert `502`.
2. `crm.heckenfels.com`
   - Kein aktueller Kubernetes Ingress.
   - Traefik liefert `404`.
   - Wirkt wie alter EspoCRM-Pfad.
3. `argocd.cattaro.eu`
   - Kein aktueller Kubernetes Ingress.
   - Traefik liefert `404`.
   - Altes DMZ-ArgoCD ist nicht mehr Zielmodell.

Nur nach fachlicher Klaerung:

4. `office.cattaro.eu`
   - Nicht-K3s Ziel `192.168.188.40:80`.
   - Aktuell vom Proxy aus nicht erreichbar.
5. `meshcentral.cattaro.eu`
   - Nicht-K3s Ziel `192.168.188.42:2087`.
   - Aktuell vom Proxy aus nicht erreichbar.
   - Spaeter von Mislav zur Entfernung freigegeben und entfernt.

Behalten:

- `nextcloud.cattaro.eu`
- `service.heckenfels.com`
- `dashboard.heckenfels.com`
- `matomo.heckenfels.com`
- `mautic.heckenfels.com`
- `suitecrm.heckenfels.com`
- `n8n.heckenfels.com`

## Cleanup durchgeführt 2026-06-19

Mislav gab OK: klare NPM-Cleanup-Kandidaten koennen raus.

Backup vor Änderung:

- `/data/compose/2/data/backups/kube-bot-npm-cleanup-20260619T214028Z`

Entfernt aus Nginx Proxy Manager:

- ID `6`: `bitwarden.cattaro.eu`
- ID `8`: `argocd.cattaro.eu`
- ID `10`: `crm.heckenfels.com`

Durchgeführt:

- NPM SQLite-Datenbank vor Änderung gesichert.
- Proxy-Host-Einträge aus Tabelle `proxy_host` gelöscht.
- Generierte Config-Dateien entfernt:
  - `/data/compose/2/data/nginx/proxy_host/6.conf`
  - `/data/compose/2/data/nginx/proxy_host/8.conf`
  - `/data/compose/2/data/nginx/proxy_host/10.conf`
- `nginx -t` erfolgreich.
- Nginx reload ausgeführt.

Verifikation:

- Entfernte Domains:
  - `bitwarden.cattaro.eu`: HTTP `000`
  - `crm.heckenfels.com`: HTTP `000`
  - `argocd.cattaro.eu`: HTTP `000`
- Verbleibende produktive Domains:
  - `service.heckenfels.com`: HTTP `200`
  - `dashboard.heckenfels.com`: HTTP `307`
  - `matomo.heckenfels.com`: HTTP `200`
  - `mautic.heckenfels.com`: HTTP `302`
  - `suitecrm.heckenfels.com`: HTTP `200`
  - `n8n.heckenfels.com`: HTTP `200`

Aktive Proxy-Host-IDs nach erstem Cleanup:

- `1`, `2`, `3`, `4`, `5`, `7`, `9`, `11`, `12`

## Meshcentral Cleanup durchgeführt 2026-06-19

Mislav gab OK: `meshcentral.cattaro.eu` kann ebenfalls raus. `office.cattaro.eu` bleibt vorerst bestehen, weil es ggf. fuer Nextcloud notwendig sein kann.

Backup vor Änderung:

- `/data/compose/2/data/backups/kube-bot-npm-meshcentral-cleanup-20260619T214253Z`

Entfernt aus Nginx Proxy Manager:

- ID `4`: `meshcentral.cattaro.eu`

Durchgeführt:

- NPM SQLite-Datenbank vor Änderung gesichert.
- Proxy-Host-Eintrag aus Tabelle `proxy_host` gelöscht.
- Generierte Config-Datei entfernt:
  - `/data/compose/2/data/nginx/proxy_host/4.conf`
- `nginx -t` erfolgreich.
- Nginx reload ausgeführt.

Verifikation:

- `meshcentral.cattaro.eu`: HTTP `000`
- `office.cattaro.eu`: bleibt als ID `3` erhalten, aktuell HTTP `000`
- Produktive Domains bleiben erreichbar:
  - `nextcloud.cattaro.eu`: HTTP `302`
  - `service.heckenfels.com`: HTTP `200`
  - `dashboard.heckenfels.com`: HTTP `307`
  - `matomo.heckenfels.com`: HTTP `200`
  - `mautic.heckenfels.com`: HTTP `302`
  - `suitecrm.heckenfels.com`: HTTP `200`
  - `n8n.heckenfels.com`: HTTP `200`

Aktive Proxy-Host-IDs nach Meshcentral-Cleanup:

- `1`, `2`, `3`, `5`, `7`, `9`, `11`, `12`
