Repository navigation
v0.31.0
carlos v0.31.0 (platform ea01d831, 2026-10-29)
-
One address for each folder on a static site. When a folder with an
index.htmlis requested without its trailing slash, such as/blog/post, it answers with a 301 whoseLocationis the relative./post/. The query string is kept. This gives the page one address for analytics and makes relative links resolve against its folder. The automatic redirect does not apply to files. A folder withoutindex.htmlremains a 404. The site's_redirectsrules are checked first. A rule naming the path, or a rule that would redirect its slash form, prevents this automatic redirect so the request is handled as asked. -
One custom domain, one instance per region. A regional domain is served in each named region by that region's own instance of the app. A request is answered in the region it reaches and is never sent to another region. If that region's instance is not running, the request gets a 503. Create one with
carlos domains placements --app shop --set ie=shop-ie.example.net --set uk=shop-uk.example.net example.com, and add--wildcard --catchallwhen creating its one-label catch-all. Without--set, the command shows each region's instance, whether it is ready, and the addresses to use for latency-based DNS. A hostname already attached as an ordinary domain, or covered by a catch-all, is refused. An existing regional claim can have its placements replaced, but--wildcardand--catchallcannot be changed after creation. Path prefixes, static sites, fleet placements and TCP-backed targets are not supported on a regional domain. The domains list, domain details and settings page show it asregional. -
Each fleet gets its own secrets key. If you run your own fleet, secrets and credentials the console creates for apps placed on it are sealed to that fleet's key. The private half stays on the fleet's boxes. The platform receives only the public half. An app on a fleet cannot hold a secret until its fleet has a key. Set one up in this order:
- Update your
carlosCLI to v0.31.0 or later. The console refuses a secret from an older CLI for a fleet app. - Run
carlos secrets genkeyto make the pair. - Put the private half in
/etc/carlos/host.envon every box asCARLOS_SECRETS_KEY, then runsystemctl restart carlos-edgeon each box. - Register the public half with
carlos fleets secrets-key <fleet> <pubkey>, or usecarlos fleets secrets-key --file <path> <fleet>with a file containingCARLOS_SECRETS_PUBKEY=or the bare key. Only an account owner can register it. The command prints the fingerprint. - On each box, run
carlos secrets fingerprint. Its fingerprint should start with the first 12 characters aftersha256:in theSECRETS KEYcolumn ofcarlos fleets ls. - If registration lists values that the fleet's boxes cannot open, set each one again with
carlos secrets set --app <app> <var>=<value>. For a credential the console created, runcarlos store rotate --app <app>orcarlos email rotate --app <app>. TheSTALEcolumn ofcarlos fleets lscounts what remains.
Until the fleet has a key,
carlos secrets setandcarlos store createfor its apps refuse and tell you to register one. Incarlos instances list,REASONsays why a box refused config and what to do. With no key it saysconfig refused: the box has no secrets keyand tells you to addCARLOS_SECRETS_KEYand restartcarlos-edge. When the box cannot open the app's sealed values it saysconfig refused: the box cannot open this app's secretsand tells you to compare fingerprints. If they match, set the listed values again and rotate console-created credentials. An invalid private key has its own refusal. Other config refusals name the reason and point tojournalctl -u carlos-edge; a capped refusal list says that the box refused more instances than it reports.carlos apps placeandcarlos apps create --placerefuse an app whose sealed values the target boxes cannot open, and list those values. In direct-bucket mode,carlos secrets setrefuses for any account that owns a fleet. UnsetCARLOS_DEPLOYMENT_BUCKETandCARLOS_DEPLOYMENT_DIR, sign in withcarlos auth login, and run it through the console. Apps that are not on a fleet keep their existing sealing behavior through the console. - Update your
For operators
-
Boxes and console both change. The static-site redirect, regional-domain serving and named-unit config delivery change the boxes. Regional-domain placement, fleet-key registration and sealing, and named-unit route records change the console. The fleet secrets key itself has no box-side change in this release. Roll the boxes first, then the console, as always. Coming from v0.30.2 or earlier, read the v0.30.3 operator notes first, and the notes they point to.
-
Config delivery to named units needs a declaration. A route stamped with a systemd unit (
carlos route --unit) can now get its config from the box's root pass. Root renders the config to/etc/carlos/apps/<host>.env, writes a drop-in under/etc/systemd/system/<unit>.d/that makes the box's/etc/carlos/units/<unit>.base.envand that file the unit's only environment files, reloads systemd and restarts the unit. It does this only for a unit that/etc/carlos/named-units.jsonnames with the route's host, account and app. Nothing happens without that file, so a box with none behaves as on v0.30.3. Each stamped unit needs a line in the file before delivery starts. Install the file withcarlos system named-units install <file>, as root, and do not edit it by hand while carlos runs. Removing a unit's line is what removes its drop-in. A unit that loads any other environment file, or a variable named in both the base file and the route's config, is refused and the reason is logged on the box. -
v0.31.0 becomes a floor once a regional domain exists. Creating a regional domain is refused until every box, and every channel a box follows, is on v0.31.0 or later. From then on, no channel moves below v0.31.0 unless you pass
--allow-below-regional-floor, because a box below it cannot read regional domains and stops serving them. Until someone creates a regional domain, nothing changes. -
Every other dormant switch stays off. Leave
CARLOS_MOVES_PHASE1,CARLOS_HOST_CLAIM,CARLOS_HOST_CLAIM_ORIGINS,CARLOS_HOST_CLAIM_RETIRED_LOCATIONS,CARLOS_CONSOLE_ID,CARLOS_REGION_HA,CONSOLE_HA_REGIONS,CARLOS_TEMPORARY_APPS,CARLOS_REQUIRE_POINTER_DIGEST,CARLOS_PLAN_CATALOGandCARLOS_BILLINGunset, don't putCARLOS_BOX_REFERENCE=groupin any host.env, and don't runcarlos channels digests on. KeepCARLOS_SWAPandCARLOS_DB_FORWARDas they are: a box armed for zero-downtime deploys stays armed, and a console that forwards database reads keeps forwarding.
Verify a download against SHA256SUMS.txt. SHA256SUMS.txt.sig is the ed25519 signature (base64) over that file, and carlos update checks it against its embedded key.