Skip to content

fix(dashboard): allow explicit proxy hostnames#31304

Closed
joelshu1 wants to merge 1 commit into
NousResearch:mainfrom
joelshu1:fix/dashboard-allowed-hosts
Closed

fix(dashboard): allow explicit proxy hostnames#31304
joelshu1 wants to merge 1 commit into
NousResearch:mainfrom
joelshu1:fix/dashboard-allowed-hosts

Conversation

@joelshu1

Copy link
Copy Markdown

Summary:\n- Adds HERMES_DASHBOARD_ALLOWED_HOSTS for explicit dashboard proxy hostnames.\n- Normalizes configured hosts and incoming Host headers before exact matching.\n- Documents reverse-proxy/Tailscale dashboard access and adds host-header tests.\n\nTests:\n- python -m py_compile hermes_cli/web_server.py\n- python -m pytest -o addopts='' tests/hermes_cli/test_web_server_host_header.py

@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/cli CLI entry point, hermes_cli/, setup wizard area/config Config system, migrations, profiles labels May 24, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Competing implementation — this is the 7th+ PR for dashboard reverse-proxy host allowlisting. Canonical/oldest is #20136 (config-based dashboard.allowed_hosts). See also #25173, #27113, #28954, #29195, #29959. Marking as duplicate of #20136.

@joelshu1

joelshu1 commented May 24, 2026

Copy link
Copy Markdown
Author

Thanks for pointing this out — I missed the existing dashboard reverse-proxy/allowed-hosts PR cluster.

This PR overlaps with #20136 and the related efforts you listed, so I’m closing it to avoid adding another competing implementation.

The potentially reusable parts here are the focused host-normalization tests and the Tailscale/reverse-proxy documentation angle. If those would be useful, I can rework them later as a small non-competing follow-up aligned with the canonical dashboard.allowed_hosts direction in #20136.

Apologies for the duplicate/noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config Config system, migrations, profiles comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants