M8: NPM-vHost research.* robust — alles in host-level advanced_config (locations brechen NPM-Conf-Generierung), DELETE+POST bei Drift
NPM 2.15.1: custom locations + advanced_config oder locations mit eigenem advanced_config lassen die proxy_host/<id>.conf still aus (SNI alert 112); PUT loescht die conf ohne neu zu schreiben. Jetzt: komplette location-Bloecke (/, /api/, /ws, /oauth2/, = /oauth2/auth) im host-level advanced_config, locations: [], Drift via DELETE+POST. Verifiziert: 36.conf, nginx -t ok, TLS CN=research, unauth / /api/docs /ws -> 302 Keycloak, idempotent changed=0. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
@@ -207,3 +207,14 @@ Internet → NPM (CT 103, 443) → auth_request-Subrequest an oauth2-proxy
|
||||
proxy_set_header Connection "upgrade";` + lange Timeouts (3600 s) im eigenen
|
||||
advanced_config. Verifiziert via NPM-API: locations `/`→8085, `/api`→8086,
|
||||
`/ws`→8086 (upgrade: true, auth: true), host ws_upgrade=true, cert=22.
|
||||
|
||||
- **Befund 19.11. (SSL_ERROR_UNRECOGNIZED_NAME_ALERT / 502 callback):** NPM
|
||||
2.15.1 generiert `proxy_host/<id>.conf` nur zuverlässig, wenn die Config
|
||||
komplett im host-level `advanced_config` steht (custom `locations` +
|
||||
advanced_config zusammen, oder Locations mit eigenem advanced_config,
|
||||
brechen die Generierung still — DB-Row existiert, conf fehlt → SNI alert).
|
||||
Lösung: alles in advanced_config inkl. eigener `location /`, `/api/`, `/ws`
|
||||
(NPM verzichtet dann auf seine generierte location /), `locations: []`;
|
||||
Drift-Update via DELETE+POST (PUT löscht die conf ohne neu zu schreiben).
|
||||
Verifiziert: 36.conf generiert, nginx -t ok, TLS CN=research, unauth /,
|
||||
/api/docs, /ws → 302 Keycloak.
|
||||
|
||||
Reference in New Issue
Block a user