HolyClaude web UI breaks when served under a subpath (e.g., via reverse proxy or Tailscale Serve --set-path)
Image Variant
Full (latest / dev)
Image Tag / Version
latest
Host OS
Linux
What happened?
What I did
Served HolyClaude behind Tailscale Serve using --set-path to mount it at a subpath: sudo tailscale serve --bg --https=443 --set-path=/holyclaude http://localhost:3001
What happened instead
Serving at root works perfectly: sudo tailscale serve --bg --https=443 http://localhost:3001 But mounting under /holyclaude results in a broken UI — assets (JS/CSS/API calls) fail to load because they're requested as absolute root paths (e.g., /assets/app.js) instead of relative to the subpath (/holyclaude/assets/app.js).
Likely cause
The frontend appears to generate root-relative URLs rather than respecting a configurable base path. This is a known pattern with apps that assume they're always mounted at "/" (confirmed similar behavior discussed for other tools under Tailscale Serve/reverse proxies).
Suggested fix
Support a BASE_PATH / PUBLIC_URL-style environment variable so the frontend can generate correctly prefixed asset and API paths when mounted under a subpath.
Environment
- HolyClaude image: coderluii/holyclaude:latest
- Host: Fedora Atomic, rootless Podman, Quadlet
- Reverse proxy: Tailscale Serve --set-path
What did you expect?
What I expected
The web UI to load correctly at https://
Steps to reproduce
Served HolyClaude behind Tailscale Serve using --set-path to mount it at a subpath: sudo tailscale serve --bg --https=443 --set-path=/holyclaude http://localhost:3001
Docker Compose / Run command
Logs / Error output
Fixed in v1.4.7.
What changed:
- Added
HOLYCLAUDE_BASE_PATHfor path-mounted deployments such as/holyclaude. - Kept assets, API calls, SSE streams, WebSockets, service worker files, manifest icons, CSS font assets, and deep links under the configured base path.
- Documented the Tailscale Serve setup in the README, configuration guide, troubleshooting guide, and Docker Hub description.
Use it like this:
environment:
- HOLYCLAUDE_BASE_PATH=/holyclaude
sudo tailscale serve --bg --https=443 --set-path=/holyclaude http://127.0.0.1:3001
Release: https://github.com/CoderLuii/HolyClaude/releases/tag/v1.4.7 Workflow: https://github.com/CoderLuii/HolyClaude/actions/runs/29008916535