mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-10-17 13:19:18 +02:00
#991 added custom_url overrides for app launch links, but the Settings sidebar's "Service Logs & Metrics" entry still built its href from just a port: getServiceLink('9999') in SettingsLayout.tsx. Dozzle is a management-compose container (nomad_dozzle), not a `services` row, so that override has nothing to attach to and the link always resolved to http://<current-host>:9999. For anyone reaching NOMAD through a reverse proxy or a local DNS name — the exact audience #991 served — the logs link is broken with no workaround in the UI. Add a KV-backed ui.serviceLogsUrl override, editable under Advanced > Reverse Proxy, and route the sidebar entry through getServiceLink's existing customUrl argument. With nothing set the link is unchanged. Validation accepts a full http(s) URL or a bare host (normalizeCustomUrl prepends http://), treats empty as "clear", and refuses a declared non-http(s) scheme so an input like file:///etc/passwd is rejected at the boundary instead of being silently reinterpreted as a hostname. |
||
|---|---|---|
| .. | ||
| benchmark.ts | ||
| chat.ts | ||
| collections.ts | ||
| conditions.ts | ||
| docker.ts | ||
| downloads.ts | ||
| drug_reference.ts | ||
| files.ts | ||
| kb_ingest_state.ts | ||
| kv_store.ts | ||
| maps.ts | ||
| ollama.ts | ||
| rag.ts | ||
| services.ts | ||
| system.ts | ||
| util.ts | ||
| zim.ts | ||