Skip to main content

HTTP Server Settings

Settings → Http Server configures the embedded HTTP(S) server that every Source HTTP node on the installation shares. There is no port field on the node itself — one server answers every route, across every project.

Settings → Http Server port 8081
├─ /intake → Source HTTP node "Intake" (project A)
└─ /discharge → Source HTTP node "Discharge" (project B)

This is not the Grid's own web server. The port and certificate the browser talks to live in Settings → Instance.

Changing anything here needs the HTTP server settings permission. See Users and Roles.


Fields

FieldDefaultDescription
Use ServerOnWhether the embedded server runs at all. Turning it off stops every HTTP source node on the installation.
Port8081The port every route answers on.
SecureOffServe over HTTPS. Makes every route HTTPS, not just some.
Certificate(empty)Path to the TLS certificate file (PEM). Shown only when Secure is on.
Private Key(empty)Path to the TLS private key file (PEM). Shown only when Secure is on.
Verify PeerOffRequire and verify a client certificate (mutual TLS). Shown only when Secure is on.
Certificate Authority File(empty)The CA that signs accepted client certificates. Shown only when Verify Peer is on; leave it blank to use the system CA store.
Serve FilesOffServe static files from a directory alongside the node routes.
Serve Files Directory(empty)The directory to serve, when Serve Files is on.

File paths are read by the Runtime on the server, not by your browser. Give absolute paths — /etc/linkiir/certs/cert.pem — rather than paths that only exist on the machine you are sitting at.

TLS needs both files

Saving with Secure on and either Certificate or Private Key blank is refused. It is refused deliberately: the Runtime's HTTP server will not start at all without them, so the alternative is every HTTP source node on the installation silently losing its listener.


Saving restarts the Runtime

The Runtime reads these settings once, when its process starts. There is no hot reload for them, so a change to a field the Runtime consumes only takes effect when the Runtime is replaced.

The save button says which one you are about to do:

ButtonWhenEffect
SaveYou changed only Use Server, Serve Files, or Serve Files DirectoryStored. Nothing restarts.
Save & RestartYou changed Port, Secure, Certificate, Private Key, Verify Peer, or Certificate Authority FileStored, then the Runtime is stopped and started again.

A restart is fleet-wide: every node the Runtime was running stops with it and comes back as it starts up. Expect a few seconds of interruption, and up to about 30 seconds if the Runtime needs its full grace period to shut down cleanly. Only the Runtime restarts — the Grid stays up, so the page keeps its connection and tells you when the Runtime is back.

Two cases end with the settings saved but not applied, and say so rather than reporting success:

MessageMeaningWhat to do
This Grid does not supervise the RuntimeRuntime supervision is turned off for this installation — typically a developer running the Runtime by hand or under a debuggerRestart the Runtime yourself
The Runtime binary was not foundNo Runtime is installed at the configured pathFix the installation, then restart