Add Chhoto URL as a short link service on iceman, with random UID slugs, optional custom names, per-link expiry and an Argon2-hashed admin password. The public jhlink.uk vhost only passes GET and HEAD for single-segment paths and the static assets of the 404 page, so it serves redirects alone. The admin UI and API are on jhlink.neb.jakehillion.me over Nebula. Redirects are temporary so that expiry and edits take effect for clients that have already followed a link. The service runs as a fixed UID with its state directory persisted. A consistent copy of the SQLite database is taken with sqlite3 .backup before each restic run to mig29. The upstream module's try_longer_slugs option sets a variable Chhoto does not read, so try_longer_slug is set through the freeform settings instead. Test plan: - CI - Ran chhoto-url and the public Caddy matcher locally: custom and random links redirect with 307, expired links 404, the root, /api/* and the frontend 404 publicly, and creating links needs a login - Checked an Argon2 password loaded from a systemd EnvironmentFile accepts the right password and rejects a wrong one - Checked the sqlite3 .backup copy contains the links
325 B
325 B