26 KiB
Settings reference
Every setting the Runway kernel and its essential protection plugin read: what it does, the values it takes, and where you set it. Per-site settings are made on the site console's screens (SITE-MANAGER-GUIDE.md); optional plugins document their own settings.
How settings are layered
- The console keeps what you set on its screens in
external/platform.yml(platform) and in each site's folder (that site). Only values that differ from the default are stored. A blank field restores the default; a blank token field keeps the stored token. - The server can set any key in
external/application.yml, an environment variable (RUNWAY_CSP_MODEforrunway.csp.mode) or a command-line argument. A value set there wins, and the console shows that field disabled with where it is set, and what removing it there would do. To move a key to the console in one restart, click Use the file's value on its row first (it copies the value the server runs with), then remove the line and restart: nothing changes (ADMINISTRATION.md §8). Two exceptions. Password strength (runway.security.password-strength): the value chosen on Platform settings wins over every server source, and the field is never locked. The protection plugin's settings (section 2):external/plugin-settings/protection.yml, which its settings screen writes, wins overexternal/application.yml, and the form shows no lock; an environment variable or a command-line argument still wins over both. - When a change applies: the settings in section 1 apply after the next restart (the form says which are pending). Settings on the other screens in section 2 say when they apply.
- Kept out of the console on purpose: the settings in section 3, each with the reason.
1. Console settings: Server settings and the policy cards
Settings → Server settings
Screen: /__app/config/server (platform administrators). Applies after a restart.
Content-Security-Policy
The browser security policy every page is sent with. It limits where scripts, styles, images and frames may come from. Applies after a restart.
| Setting | Key | What it does | Values |
|---|---|---|---|
| Mode | runway.csp.mode |
report sends the policy as report-only (violations are logged, nothing is blocked); enforce blocks what the policy does not allow; off sends no policy. | one of report, enforce, off; default report |
| Use strict-dynamic (master switch) | runway.csp.strict-dynamic |
A script the page loaded with its nonce may load further scripts. On: console pages use it, and public pages too while the switch below is on. Off rolls every page, console and public, back to the host lists below. | true or false; default true |
| Use strict-dynamic on public pages | runway.csp.public-strict-dynamic |
Public pages get a nonce and strict-dynamic too. Needs the switch above. | true or false; default true |
| Extra allowed hosts (all sites) | runway.csp.extra-hosts |
Every site's pages may load from these hosts, e.g. https://www.youtube.com. They are added to scripts, styles, images, fonts, connections and frames. For a host only one site needs, use Settings → Embed hosts instead. | comma-separated list; default empty |
| Upgrade insecure requests | runway.csp.upgrade-insecure-requests |
The browser fetches http:// resources over https:// instead. | true or false; default false |
| Report URI (Advanced) | runway.csp.report-uri |
Where browsers send violation reports. The default is Runway's own collector, which writes them to the log. A blank field restores this default; to send no reports at all, set runway.csp.report-uri: "" in external/application.yml. | text; default /__csp-report |
| default-src (Advanced) | runway.csp.default-src |
The source list for anything without its own directive. A blank field restores 'self'; to leave the directive out, set the key to "" in external/application.yml. | text; default 'self' |
| script-src (Advanced) | runway.csp.script-src |
Script sources. The page's nonce (and strict-dynamic, when on) is always added. | text; default 'self' |
| style-src (Advanced) | runway.csp.style-src |
Style sources. | text; default 'self' 'unsafe-inline' |
| img-src (Advanced) | runway.csp.img-src |
Image sources. | text; default 'self' data: |
| font-src (Advanced) | runway.csp.font-src |
Font sources. | text; default 'self' |
| connect-src (Advanced) | runway.csp.connect-src |
Where scripts may connect (fetch, XHR, WebSocket). | text; default 'self' |
| base-uri (Advanced) | runway.csp.base-uri |
Allowed values of a page's element. | text; default 'self' |
| form-action (Advanced) | runway.csp.form-action |
Where forms may submit. | text; default 'self' |
| frame-ancestors (Advanced) | runway.csp.frame-ancestors |
Which sites may show these pages in a frame. 'none' forbids all. | text; default 'self' |
Request limits
How large a request may be. Applies after a restart.
| Setting | Key | What it does | Values |
|---|---|---|---|
| Largest request before sign-in (bytes) | runway.endpoints.max-form-bytes |
The most a visitor who is not signed in may send in one request, on any path. Default 262144 (256 KiB). | whole number from 1024 to 104857600; default 262144 |
| Slowest request body (bytes per second) (Advanced) | runway.http.min-request-data-rate |
A request body arriving more slowly is answered 408 Request Timeout: login and other forms, uploads and raw bodies alike, so a client sending a byte now and then cannot keep a request thread. Only time spent waiting for the client counts, and a body that has arrived complete is never refused. Sending part of a body fast earns at most 30 seconds of waiting. Default 4096; 0 turns the check off. | whole number from 0 to 1048576; default 4096 |
| Largest request to a plugin (bytes) | runway.endpoints.max-body-bytes |
The most a signed-in user may send to a plugin's route. Default 10485760 (10 MiB). | whole number from 1024 to 1073741824; default 10485760 |
| Largest uploaded file | spring.servlet.multipart.max-file-size |
For uploads such as a backup to restore. A size like 256MB or 1GB. Default 256MB. | text; default 256MB |
| Largest upload request | spring.servlet.multipart.max-request-size |
All the files of one upload together. A size like 256MB. Default 256MB. | text; default 256MB |
Site storage
How much each site may keep in its static files and documents. A site's own limit, set on Sites, wins over this default. Applies after a restart.
| Setting | Key | What it does | Values |
|---|---|---|---|
| Storage per site (bytes) | runway.static-files.default-max-bytes |
The most a site's static files and documents may take on disk. An upload that would go over it is refused; nothing already stored is deleted or hidden, and a site over it can still delete. 0: no limit. Default 0. | whole number from 0 to 9223372036854775807; default 0 |
HTTP caching
The Cache-Control header pages and files are sent with. A page's own cache setting in the page editor wins over these. Applies after a restart.
| Setting | Key | What it does | Values |
|---|---|---|---|
| Public pages | runway.http-cache.public-pages |
Default: browsers and caches keep a page 5 minutes and may serve it 1 more minute while refreshing. | text; default public, max-age=300, stale-while-revalidate=60 |
| Site files | runway.http-cache.assets |
Files under a site's /static/ (except the immutable kinds below). Default: one day. | text; default public, max-age=86400 |
| Plugin files | runway.http-cache.plugin-assets |
Files plugins serve under /__plugin/ (their styles and scripts). Default: one hour, then checked against the file's content. | text; default public, max-age=3600 |
| Immutable file types | runway.http-cache.immutable-extensions |
Extensions served as never changing (fonts by default). Give such files a new name when they change. | comma-separated list; default woff2,woff,ttf,otf,eot |
| Immutable files (Advanced) | runway.http-cache.immutable-assets |
The header for the types above. Default: one year, immutable. | text; default public, max-age=31536000, immutable |
Response compression (tuning)
Fine-tuning for the compression switches above. Applies after a restart.
| Setting | Key | What it does | Values |
|---|---|---|---|
| Smallest body to gzip (bytes) | runway.compression.gzip.min-size |
Default 1024. | whole number from 0 to 10485760; default 1024 |
| Smallest body to Brotli-encode (bytes) | runway.compression.brotli.min-size |
Default 1024. | whole number from 0 to 10485760; default 1024 |
| Brotli quality | runway.compression.brotli.quality |
0 is fastest, 11 smallest; 4 to 6 suit compressing on the fly. Default 5. | whole number from 0 to 11; default 5 |
| Largest body to compress (bytes) (Advanced) | runway.compression.max-buffer-bytes |
Larger responses are sent uncompressed. Default 4194304 (4 MiB). | whole number from 65536 to 268435456; default 4194304 |
| Compressed content types (Advanced) | runway.compression.mime-types |
The whole list: what you enter replaces it. | comma-separated list; default text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json,application/xml,image/svg+xml |
Monitoring
The health probe each site answers at /__health, the metrics endpoint, and the site reload endpoint. Applies after a restart.
| Setting | Key | What it does | Values |
|---|---|---|---|
| Answer the health probe (/__health) | runway.health.enabled |
Off: /__health is not served. | true or false; default true |
| Check the site's content too | runway.health.content-check |
The probe also checks that the home page and the master template are there. | true or false; default true |
| Content check result kept for (seconds) (Advanced) | runway.health.content-check-ttl-seconds |
Default 10. | whole number from 1 to 3600; default 10 |
| Health detail token | runway.health.token |
A probe that sends it as a Bearer token gets the detailed body. Never set: only the public answer. A blank field keeps the stored token; type a new one to replace it. | secret (stored encrypted, never shown); default empty |
| Metrics scrape token | runway.metrics.scrape-token |
Lets a monitoring system read /actuator/prometheus with this Bearer token. Never set: only signed-in operators can. A blank field keeps the stored token; type a new one to replace it. | secret (stored encrypted, never shown); default empty |
| Site reload endpoint | runway.reload.enabled |
Lets a deployment script make a site re-read its files. Inactive until the token is set. | true or false; default true |
| Reload token | runway.reload.token |
The Bearer token the reload endpoint requires. A blank field keeps the stored token; type a new one to replace it. | secret (stored encrypted, never shown); default empty |
Site logs
The access and audit log each site keeps (its Logs and Insights screens). Applies after a restart.
| Setting | Key | What it does | Values |
|---|---|---|---|
| Keep site logs | runway.logs.enabled |
Off: no site records new access or audit lines; the Logs screen keeps the lines already written, Insights shows nothing. | true or false; default true |
| Longest a site may keep its logs (days) | runway.logs.max-retention-days |
Each site chooses its own retention up to this. Default 90. | whole number from 1 to 3650; default 90 |
| Record the browser (User-Agent) | runway.logs.access-log-user-agent |
Adds the User-Agent to each access line. | true or false; default false |
| Log queue size (lines) (Advanced) | runway.logs.queue-capacity |
Lines waiting to be written; beyond it lines are dropped and counted. Default 8192. | whole number from 16 to 1048576; default 8192 |
Console languages
The languages this console's language switcher offers. Applies after a restart.
| Setting | Key | What it does | Values |
|---|---|---|---|
| Languages offered | runway.operator.ui-languages |
Language codes in display order. Each needs a console translation: en and es ship, others go in external/i18n/. | comma-separated list; default en,es |
| Default language | runway.operator.default-language |
Used when the browser asks for none of the languages offered. | text; default en |
Sessions
How long a signed-in console session lasts without activity. Applies after a restart.
| Setting | Key | What it does | Values |
|---|---|---|---|
| Idle session timeout | server.servlet.session.timeout |
A duration such as 30m, 2h or 1d. Default 30m. | text; default 30m |
Reverse proxy
Whether to trust X-Forwarded-* headers, and from which addresses. Only from your own proxy: otherwise visitors could fake their address. Applies after a restart.
| Setting | Key | What it does | Values |
|---|---|---|---|
| Read X-Forwarded-* headers | runway.proxy.forwarded-headers |
From the trusted addresses below only. | true or false; default true |
| Trusted proxy addresses | runway.proxy.trusted-cidrs |
The exact address of your reverse proxy, e.g. 10.0.0.5/32, and of every proxy in front of it (a CDN). Check the result under About Runway → This request. A /0 (0.0.0.0/0, ::/0), or ranges that add up to every address (0.0.0.0/1 with 128.0.0.0/1), would trust every client to fake its address, so it is refused. | comma-separated list; default 127.0.0.1/32,::1/128 |
Capacity
Threads and concurrency limits. The defaults suit most servers; raise them only for measured load. Applies after a restart.
| Setting | Key | What it does | Values |
|---|---|---|---|
| Most request threads | server.jetty.threads.max |
Default 200. | whole number from 8 to 10000; default 200 |
| Fewest request threads (Advanced) | server.jetty.threads.min |
Default 8; never above the most. | whole number from 1 to 1000; default 8 |
| Message file re-check (seconds) (Advanced) | runway.i18n.cache-seconds |
How often a site's message files are checked for changes made outside the console (Messages screen saves apply at once). 0: on every use. Default 5. | whole number from 0 to 3600; default 5 |
| Scheduler threads (Advanced) | spring.task.scheduling.pool.size |
Threads for backups and plugin jobs. Default 4. | whole number from 1 to 64; default 4 |
| Password checks at once (Advanced) | runway.security.max-concurrent-hashes |
Each takes about 19 MiB (32 MiB with the High profile). Beyond it, sign-ins wait. Default 8. | whole number from 1 to 256; default 8 |
| Longest wait for a password check (ms) (Advanced) | runway.security.acquire-timeout-millis |
Then the sign-in answers "busy". Default 2000. | whole number from 100 to 60000; default 2000 |
Protection logging
What the request protection writes to the log when it refuses a request. Applies after a restart.
| Setting | Key | What it does | Values |
|---|---|---|---|
| Log refused requests | runway.protect.log-rejections |
One line per refused request (403 or 429). The count in the metrics is kept either way. | true or false; default true |
| Repeat lines suppressed for (seconds) | runway.protect.log-rejection-window-seconds |
For the same address and reason; the next line says how many were suppressed. Default 60. | whole number from 1 to 86400; default 60 |
Backups → Settings (backup policy)
Screen: /__app/config/backups (platform administrators). Applies after a restart.
Backup policy
Automatic backups of every site, and how many stored backups are kept. Applies after a restart.
| Setting | Key | What it does | Values |
|---|---|---|---|
| Back up every site automatically | runway.backups.schedule.enabled |
On the schedule below. | true or false; default false |
| Schedule | runway.backups.schedule.cron |
Six fields: second minute hour day month weekday. Default 0 30 2 * * * (02:30 every day). | text; default 0 30 2 * * * |
| Stored backups kept per site | runway.backups.retention.max-count |
The newest this many are kept; 0 keeps all. Default 30. | whole number from 0 to 100000; default 30 |
| Delete stored backups older than (days) | runway.backups.retention.max-age-days |
0: no age limit. Default 0. | whole number from 0 to 36500; default 0 |
| Largest file inside a backup to restore (bytes) (Advanced) | runway.backups.max-entry-bytes |
A guard against archives that expand without limit. Default 268435456 (256 MiB). | whole number from 1048576 to 17179869184; default 268435456 |
Bandwidth → Settings (metering and quota)
Screen: /__app/config/bandwidth (platform administrators). Applies after a restart.
Metering and quota
Per-site traffic counting, its history, and the monthly cap. Applies after a restart.
| Setting | Key | What it does | Values |
|---|---|---|---|
| Count each site's traffic | runway.bandwidth.enabled |
Off: nothing new is counted and no cap is enforced; the Bandwidth screens keep the history already recorded. | true or false; default true |
| Monthly cap per site (bytes) | runway.bandwidth.quota.default-monthly-bytes |
Outbound bytes in the last 30 days; above it the site's public pages answer 503 (its console keeps working). 0: no cap. A site's own cap is set on Sites. | whole number from 0 to 9223372036854775807; default 0 |
| Keep traffic history (days) | runway.bandwidth.retention-days |
Default 90. | whole number from 1 to 3650; default 90 |
| Counting interval (seconds) (Advanced) | runway.bandwidth.snapshot-seconds |
Also how often the cap is checked. Default 60. | whole number from 1 to 3600; default 60 |
Activity → Logs → Settings (activity log retention)
Screen: /__app/config/activity (platform administrators). Applies after a restart.
Activity log
How long the console's activity log is kept. Applies after a restart.
| Setting | Key | What it does | Values |
|---|---|---|---|
| Keep the activity log (days) | runway.app-activity.retention-days |
Default 90. Switching the log off is set on the server only, so it cannot be done by the people it records. | whole number from 1 to 3650; default 90 |
Plugins → Settings (plugin limits)
Screen: /__app/config/plugins (platform administrators). Applies after a restart.
Plugin limits
Size limits for installing plugins and for the files plugins keep per site. Applies after a restart.
| Setting | Key | What it does | Values |
|---|---|---|---|
| Largest file inside a plugin to install (bytes) | runway.plugins.max-entry-bytes |
Default 134217728 (128 MiB). | whole number from 1048576 to 4294967296; default 134217728 |
| Largest file a plugin keeps per site (bytes) | runway.plugins.site-files.max-write-bytes |
Default 16777216 (16 MiB). | whole number from 1024 to 1073741824; default 16777216 |
2. Settings edited on other console screens
| Key | Where |
|---|---|
runway.compression.enabled |
Settings → Platform settings, Response compression (applies at once) |
runway.compression.brotli.enabled |
Settings → Platform settings, Response compression (applies at once) |
runway.compression.gzip.enabled |
Settings → Platform settings, Response compression (applies at once) |
runway.node.name |
Settings → Platform settings, Node name (the console's value wins over this key) |
runway.security.password-strength |
Settings → Platform settings, Password strength (applies to new passwords after a restart; the console's value wins over this key) |
runway.bandwidth.quota.per-site |
Sites → Edit, Monthly bandwidth cap, per site (applies at once) |
Log levels (logging.level.<logger>) are set on Activity → Logs → Log levels (/__app/logs/levels): they apply at once and are kept in platform.yml; a level set in application.yml wins and shows locked.
The essential protection plugin's settings are on Plugins → Essential Protection → Settings (/__app/plugins/protection/settings). They are stored in external/plugin-settings/protection.yml and bound as runway.plugin.protection.<key>; they apply after a restart. Its login protection (honeypot, lockout, CAPTCHA) is the panel below that form and applies at once; each site has its own on /__admin/protection.
Rate limit
| Setting | Key | What it does | Values |
|---|---|---|---|
| Rate-limit burst capacity | runway.plugin.protection.rate-limit.capacity |
How many requests one address may make back to back before it is slowed down. Default 120. | whole number from 1 to 100000; default 120 |
| Rate-limit refill per second | runway.plugin.protection.rate-limit.refill-per-second |
How many requests per second an address gets back after a burst. Default 2; 0.5 means one every two seconds. Must be above 0. | number from 0.01 to 10000; default 2 |
Auto-block
| Setting | Key | What it does | Values |
|---|---|---|---|
| Auto-block repeat offenders | runway.plugin.protection.rate-limit.auto-block.enabled |
Off: an address over the limit only gets 429s and is never blocked. | true or false; default true |
| Auto-block after this many rate-limit breaches | runway.plugin.protection.rate-limit.auto-block.breach-threshold |
How many 429s within the window before the address is blocked. Default 60. | whole number from 1 to 100000; default 60 |
| Counted within (seconds) | runway.plugin.protection.rate-limit.auto-block.window-seconds |
The period the 429s are counted over. Default 60 seconds. | whole number from 1 to 86400; default 60 |
| Auto-block duration (seconds) | runway.plugin.protection.rate-limit.auto-block.block-seconds |
How long an auto-block lasts; the visitor gets 429 with the remaining time in Retry-After. Default 900 (15 minutes). | whole number from 1 to 604800; default 900 |
Exemptions
| Setting | Key | What it does | Values |
|---|---|---|---|
| Never rate-limit or auto-block these IPs/CIDRs (your own audits, probes, load tests) | runway.plugin.protection.allowlist |
One IP or CIDR per line, e.g. 203.0.113.7 or 198.51.100.0/24. For your own audits, probes and load tests. Loopback is not exempt unless listed: behind a same-host proxy every visitor arrives from loopback. | comma-separated list; default empty |
Remember this device
| Setting | Key | What it does | Values |
|---|---|---|---|
| Allow "remember this device" (skip the login captcha on trusted devices) | runway.plugin.protection.remember-device.enabled |
Off: the login CAPTCHA is shown on every login. | true or false; default true |
| Remember a device for (days) | runway.plugin.protection.remember-device.days |
How long a device is remembered, 1 to 365. Default 30. | whole number from 1 to 365; default 30 |
3. Server-only settings, and why
Set these in external/application.yml (or the environment). They stay out of the console because the console cannot change them safely, or cannot exist until they are known.
| Keys | Why not in the console |
|---|---|
runway.app-activity.enabled |
It switches off the operator activity log. If the console could turn it off, an operator could silence the record of their own actions. |
runway.backups.offsite-dir |
A folder on the server that receives full site archives (user records, encrypted plugin secrets). Set from a browser it could point into a web-served folder or another site's folder; choosing and mounting the share is the server administrator's job. Shown read-only on Backups. |
runway.cluster.enabledrunway.cluster.cluster-namerunway.cluster.topologyrunway.cluster.session-ttlrunway.cluster.sessions-map-namerunway.cluster.events-topic-namerunway.cluster.embedded.discoveryrunway.cluster.embedded.membersrunway.cluster.embedded.portrunway.cluster.embedded.port-auto-incrementrunway.cluster.client.addressesrunway.cluster.client.smart-routing |
Read before the application is built (the cluster member and the shared session store are created at startup), and every node must hold the same value; one node's console cannot change the others. |
runway.console.hosts |
The host names the operator console answers on. A wrong value would lock every operator out of the console, so the console cannot be the place to change it: the file on the server is the way back in. Read at startup; each node of a cluster reads its own. |
runway.demo.first-run.idrunway.demo.first-run.hostrunway.demo.first-run.master-usernamerunway.demo.first-run.master-password |
Used once, on the first start of an unattended evaluation box, before any operator exists to sign in. The console equivalent is Sites → Install a demo site. |
runway.plugins.root |
Read before the application starts: the plugin loader finds the plugins there before the console exists, and the folder decides what code the server runs. |
runway.security.app-master-id |
The trust anchor that pins the undeletable application superadmin, read before the application starts; set by the setup wizard and never edited by hand. |
runway.security.secret-key |
The key that encrypts every other stored secret. Typing it into a browser would put it on the wire, and changing it would make every stored secret unreadable; the installer keeps it in a root-only file. |
runway.storage.externalrunway.storage.sites |
Read before the application starts: the data folder holds application.yml, platform.yml and every site, so the console cannot live anywhere until it is known. |
runway.storage.backups |
Read before the application starts, like the data folder, and it receives full site archives (the same reason as runway.backups.offsite-dir). |
runway.storage.statsrunway.storage.logs |
Retired before 1.0 and has no effect; a value set in application.yml is reported once at startup. |
runway.tls.enabledrunway.tls.keystorerunway.tls.keystore-passwordrunway.tls.keystore-typerunway.tls.key-aliasrunway.tls.sni-host-checkrunway.tls.watch-keystorerunway.tls.redirect-http.enabledrunway.tls.redirect-http.portrunway.tls.redirect-http.statusrunway.tls.redirect-http.acme-challenges-dir |
Read before the server starts serving: the HTTPS and redirect listeners are built from it at startup, and a wrong value set from the console could make the console itself unreachable. The certificate files and their password belong to the server. |
Spring Boot keys Runway pins in its shipped application.yml (for example server.forward-headers-strategy, spring.web.resources.add-mappings, spring.security.filter.order) are part of how the platform works, not preferences: do not change them. ADMINISTRATION.md §8 lists them.