Files
forgetting/internal/ui
Claude 13da9a7200 Secret URL path for the panel
The panel port is open to the internet, and its login page and JS bundle
gave it away to any scanner in one GET. The installer now generates a
random UI_PREFIX: from outside the panel answers only under
http://IP:PORT/<prefix>/ and gives Go's plain "404 page not found" to
everything else. Loopback needs no prefix (CLI, local Prometheus, nginx on
the same host); while a move code is out, POST /migrate/v1/import is let
through without it, since the code carries no path.

A reinstall with kept data keeps the prefix; UI_PREFIX=off or a custom value
can be set before running the installer. A moved panel brings its prefix in
UI_PREFIX_MOVED, so old bookmarks and API clients keep working through the
relay. awg-ctrl status and credentials show the full panel address.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013bNGYiDst62wH3ZGTRPFLJ
2026-10-28 11:41:09 +00:00
..
2026-10-14 13:27:24 +00:00
2026-10-14 13:27:24 +00:00
2026-10-17 23:35:30 +03:00
2026-10-28 11:41:09 +00:00
2026-10-28 11:41:09 +00:00
2026-10-28 11:41:09 +00:00
2026-10-14 13:27:24 +00:00
2026-10-14 13:27:24 +00:00
2026-10-28 11:41:09 +00:00