DocumentationBuild. Deploy. Operate.
DocsConcepts

Origins & the Implicit-Origin Model

On this page 4 sections

An origin is the pairing of a public hostname (such as example.com) with the address of the real web server that should answer requests for it.

You register origins once, against your cluster. The control plane then makes sure every member of the cluster has the correct entry in its configuration file when it subscribes and whenever it receives a newer configuration snapshot.

In the origin's Backend address field, enter an IP address and port (for example 10.0.0.5:8080), http://backend.example.com or https://backend.example.com. HTTP defaults to port 80 and HTTPS to 443; an explicit port such as https://backend.example.com:8443 overrides the default. Addresses without a scheme use HTTP, even when a port such as 443 is specified. IPv6 literals use brackets, for example https://[2001:db8::10]:8443.

HTTPS connects directly to the backend over TLS and validates its certificate against the node's trusted certificate authorities and the hostname or IP in the backend address. It does not fall back to HTTP when validation fails. Use a certificate trusted by every node that may become master; for a private CA, install that CA in those nodes' system trust stores. Health probes follow the same backend transport.

Enter the backend address without a path, query string, fragment or embedded credentials. QSCS forwards the incoming request path and public Host header; the backend hostname in an HTTPS address supplies TLS SNI and certificate verification. A different TLS hostname therefore does not change the application's public hostname. Use the backend's own reachable address rather than a public address that routes back through the same QSCS domain.

History archiving

Archive history is enabled by default. In Infrastructure → Manage → Edit settings, turn it off for an individual origin to stop creating new local archival records and uploading that origin's history to the central archive. Other origins keep their own settings.

The domain's History archiving setting is the master switch. When off, it stops archiving for every origin in the domain, including domain-level records. Turning it back on restores each origin's saved choice. Every participating node must report QSCS 4.3.13 or newer before the Control Panel accepts an opt-out; configuration convergence then applies it on each node.

Disabling history does not disable the API, Boost, peer replication or public ingress statistics. QSCS keeps the current working state, configured restart persistence and complete pending delivery payloads required to continue serving requests. A disconnected peer can therefore still receive its queued work. These functional stores can still use disk space.

Existing local and central archives are retained. The old shared journal is frozen, and enabled origins use separate journals with independent upload and readback checkpoints. Disabled records are not marked as uploaded and are not automatically deleted. Re-enabling starts recording new changes again; it cannot reconstruct changes made while archiving was off. The frozen shared journal remains available for a separately planned cleanup.

For example, disable history for a monitoring API whose historical cache snapshots are unnecessary, while leaving the customer-facing origins enabled. Public request auditing remains active independently. Use the Control Panel to make the change consistently across the domain.

How origins look in the config file

On the master:

[Origins]
example.com     = 127.0.0.1:80
www.example.com = 127.0.0.1:80
api.example.com = 10.0.0.5:8080

On a thin client in the same cluster:

[Origins]
example.com     = 203.0.113.4:8080
www.example.com = 203.0.113.4:8080
api.example.com = 203.0.113.4:8080

Notice that on the thin client, every entry points at the master's public address and QSCS port (8080 by default). This is the Implicit-Origin Model.

Why thin clients don't know the real backend

A thin client probably cannot reach the master's private origin server anyway, that server might be on a private network, behind a firewall, on the other side of the world. The thin client doesn't need to know where the origin really is; it just needs to ask the master.

QSCS writes the implicit origin entries automatically during subscription and configuration convergence. If you (or an older version of the daemon) hand-wrote real backend addresses on a thin client, QSCS rewrites them at startup with a warning, so the cluster always reaches a consistent state.

The full origin entry syntax

<hostname> = <backend-address> [<flag>]...

Common origin flags are listed below. See Configuration for delta policy, persistence and timeout options.

FlagEffect
ArchiveHistory=on|offLocal and centralized archival history for this origin. Defaults on; the domain setting must also be enabled. Requires QSCS 4.3.13 or newer.
BrowserNavigation=on|offAutomatically delivers the browser runtime and enables eligible document navigation deltas. Enabled by default; manage this setting in the Control Panel.
Proxy=allPass every request to the backend (do not try to cache by path).
Auth=identityRequire an authenticated QSCS identity to access the origin.

Adding or removing origins

Open Infrastructure, choose Manage on the domain, and add, remove or edit its origins. Running members receive the new snapshot automatically, normally on the next configuration poll, and restart when required to apply it. Routine changes do not require a manual re-subscription on every node.

If the domain has an elected Fallback, make sure the configured backend addresses will work from that node after automatic promotion. For example, 127.0.0.1:80 refers to an application on whichever node becomes master. QSCS cache replication does not provision or replicate that application. See master and fallback election.

Need a hand with your deployment?Contact support ↗Back to top ↑