You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The server root (/) needs a proper default page. Currently it's a placeholder.
The page should adapt to server mode:
Multi-user server — intro text, signup/login buttons, branding Single-user pod — personal homepage, link to profile/WebID Dev/testing — server info, version, enabled features
Considerations:
Most valuable URL in the pod — needs careful thought
Part of first-time setup and onboarding
Should be low barrier (as discussed with ewingson)
Template should be customizable per server but have a good default
Could detect mode from config (--single-user, --idp, etc.)
(re-used) existing ACL generator — writes the root ACL
Behaviour on server start
If DATA_ROOT/index.htmldoes not exist, seed it:
Write DATA_ROOT/index.html from the template, with server-specific values interpolated (version, mode, enabled features, create-account link if IDP is on)
Write DATA_ROOT/.acl with public read only — no public write
If DATA_ROOT/index.htmlalready exists, do nothing. Operator's file wins.
Ownership
For v1, the server root is public-read only. No write access from the web. Operators edit the file directly on disk (like nginx/Apache landing pages). This avoids the "who owns the multi-user root?" question entirely. A later flag like --admin-webid can relax this if needed.
Activity
melvincarvalho commentedon Apr 22, 2026
Proposed design (small, non-breaking)
Files shipped with JSS
src/ui/server-root.html— default landing page templateBehaviour on server start
If
DATA_ROOT/index.htmldoes not exist, seed it:DATA_ROOT/index.htmlfrom the template, with server-specific values interpolated (version, mode, enabled features, create-account link if IDP is on)DATA_ROOT/.aclwith public read only — no public writeIf
DATA_ROOT/index.htmlalready exists, do nothing. Operator's file wins.Ownership
For v1, the server root is public-read only. No write access from the web. Operators edit the file directly on disk (like nginx/Apache landing pages). This avoids the "who owns the multi-user root?" question entirely. A later flag like
--admin-webidcan relax this if needed.Landing page variants
Template detects mode at render time:
/.account/new,/idp/auth)Why it helps
index.htmlare unaffected (skip-if-exists)