Learn

Route editor

Route editor

The route editor opens when you add or edit a route. It has several sections.

Basic settings

  • Name: a short name for the route (shown in the request log and dashboards)
  • Enabled: toggle the route on or off

Match

Which requests this route handles:

  • Host names: one per line; *.example.com matches all subdomains
  • Path prefix: optional; /api matches /api and /api/users
  • Methods: optional; leave empty for all methods

The most specific route wins (longest path prefix, most specific host).

Backends

Where to forward matching requests:

  • Address and port: e.g. 10.0.0.5:80 or 127.0.0.1:8443
  • Scheme: HTTP or HTTPS
  • Target: type nas/web or pick a target from the list
  • Multiple backends share the load

Send the original host name to the backend (on by default): IIS host bindings need this.

Health check (optional)

A path such as /health to probe. A backend that fails the check is skipped until it recovers.

Failover backends (optional)

Backends used when none of the main backends is healthy. Add one per line, in takeover order.

Message for visitors (optional)

Shown when no backend answers. Add translations for Dutch, French and German.

HTTPS

  • Redirect http:// to https://: visitors on plain HTTP are sent to HTTPS
  • Tell browsers to use HTTPS only (HSTS): the Strict-Transport-Security header

Inspection (optional)

Override the global attack detection settings for this route:

  • Inspect the body: on, off, or use the global setting
  • Maximum body size: in bytes
  • When the body is too large: inspect the first part and forward (default), refuse with 413, or forward and log

Sign-in (optional)

Require a sign-in before allowing access. See Protect a path with a sign-in.

API contract (optional)

Upload an OpenAPI document to validate every request. See API contract.

Token (optional)

Require a valid JWT access token. See Access tokens.

GraphQL (optional)

Add limits for a GraphQL endpoint. See GraphQL limits.