mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-10-17 05:14:19 +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. |
||
|---|---|---|
| .. | ||
| app | ||
| bin | ||
| commands | ||
| config | ||
| constants | ||
| database | ||
| docs | ||
| inertia | ||
| providers | ||
| public | ||
| resources | ||
| scripts | ||
| start | ||
| tests | ||
| types | ||
| util | ||
| views | ||
| .editorconfig | ||
| .env.example | ||
| ace.js | ||
| adonisrc.ts | ||
| eslint.config.js | ||
| package-lock.json | ||
| package.json | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
| vite.config.ts | ||