Skip to main content

License Configuration

The [license] section specifies the path to your PRISM license file.

TOML Example​

[license]
path = "/etc/prism/license.lic"

Parameters​

ParameterTypeDefaultDescription
pathString or nullnullPath to the license file (.lic)
recheck_minutesInteger60File verification interval, clamped to 1–60 minutes; cannot be disabled
grace_hoursInteger0Legacy compatibility option; ignored

Detailed Explanation​

path​

Points to a PRISM license file on disk. The license file is a signed token that enables PRISM's full rendering capabilities.

Unlicensed mode​

When path is null or the license file is absent/invalid, PRISM runs in proxy-only mode:

  • All requests are forwarded directly to the origin
  • No headless browser rendering is performed
  • The admin API and health checks remain functional
  • PRISM acts as a transparent reverse proxy

If license.path is already configured, install a valid file there and reload it to enable rendering. If no path was configured, set it and restart PRISM first; the reload endpoint cannot choose a new path.

License validation​

On startup, PRISM reads the license file and validates its Ed25519 signature. The license contains:

  • Licensee information
  • Expiration date
  • Feature flags

Expiry is checked on every licence access, including during continuous operation. An invalid file disables rendering as soon as a reload or periodic file check detects it. Neither expiry nor failed verification receives a rendering grace period.

Example Use Cases​

Production with license​

[license]
path = "/etc/prism/license.lic"

Docker deployment with mounted license​

[license]
path = "/run/secrets/prism-license"

Evaluation / proxy-only mode​

[license]
# No path set -- runs in proxy-only mode