8 routes.yml Reference
vBlackOut edited this page 2026-08-26 07:48:04 +02:00

routes.yml Reference

This page documents every option supported in ProxyAuth's routes.yml — the file that defines which backend each incoming request is proxied to, and under what conditions. It complements the config.json Reference, which covers server-wide settings.

routes.yml is read at startup. Changes require a service restart to take effect.


Minimal example

routes:
  - prefix: "/api"
    target: "http://127.0.0.1:8000"
    required_login: true
    username: ["alice", "admin"]

Only prefix and target are required — everything else has a default.


How a route is matched

  • Rules are checked in order of longest matching prefix first (the catch-all prefix: "/", if present, is always tried last).
  • Only one rule matches a given request; there's no rule chaining or fallthrough.
  • The path portion after the matched prefix is stripped (or not) before forwarding, depending on preserve_prefix and secure_path — see below.

Core fields

Key Type Required Default Description
prefix string yes — The path prefix this rule matches, e.g. "/api". Use "/" for a catch-all.
target string yes — The backend base URL requests are forwarded to, e.g. "http://127.0.0.1:8000". Still required even when backends is set (see Load balancing below).

Virtual hosts (vhost) & per-vhost TLS

Key Type Default Description
vhost array of strings [] (catch-all) Hostnames this route answers on, matched against the incoming request's Host header (port stripped, compared case-insensitively). Left empty, the route matches any host — exactly the behavior every route had before vhost existed. Several routes can share the same prefix as long as they list different vhosts: the Host header picks which one applies before the usual longest-prefix matching happens, letting one ProxyAuth instance front several frontend domains from a single config.
vhost_cert object {} A TLS certificate/key this vhost should present instead of the server's single global one (/etc/proxyauth/certs/) — selected via SNI at handshake time. Two keys, both required if either is set: cert (path to the PEM chain) and key (path to the PEM private key). Ignored entirely when vhost is empty, and when the server isn't running with tls: true. Like the global certificate, these files are watched and hot-reloaded without a restart — see TLS & Certificates § Per-vhost certificates.
certbot_renew boolean false Enables fully automatic Let's Encrypt certificate issuance and renewal for this vhost — no external certbot/acme.sh needed. Requires vhost_cert to already point at the paths ProxyAuth should write the certificate to. certbot_rew is also still accepted as an alias for this key, for configs written before it was renamed. See the dedicated Automatic Certificate Renewal (ACME) page for the full setup and how it works.
- vhost: ["app.example.com"]
  vhost_cert:
    cert: /etc/proxyauth/cert/app.example.com/fullchain.pem
    key: /etc/proxyauth/cert/app.example.com/privkey.pem
  certbot_renew: true
  prefix: "/"
  target: "http://127.0.0.1:8000"

If more than one route shares a vhost, vhost_cert/certbot_renew only need to be set on one of them — ProxyAuth looks them up per-hostname across every route, not per individual route entry.

Per-vhost behavior overrides

A growing set of settings that used to be global-only in config.json can now be set per vhost instead — letting different domains on the same ProxyAuth instance behave completely differently: different session/cookie behavior, different SMTP servers, different CORS origins, different redirect targets. Each is set the same way vhost_cert is above — directly on a route, or once on a vhosts: group to apply it to every route underneath.

Key Type Default Description
session_cookie boolean (global session_cookie) Per-vhost override of whether ProxyAuth issues/checks a session_token cookie at all for this vhost, vs. bearer-token-only auth.
tag_csrf_token boolean (global csrf_token) Per-vhost override of whether CSRF protection is enabled at all for this vhost — both the server-side check on /auth submissions and every automatic token injection (the older inject_csrf_token mechanism on proxied responses, and the tag_proxyauth mechanism's own {{ csrf_token }} substitution alike). Genuinely independent per vhost, unlike need_csrf (see Access control above), which only decides whether one specific route participates once CSRF is already on somewhere. An explicit true/false here overrides the global default in either direction: this can turn CSRF on for one vhost even while the global default is off, or off for one vhost while every other vhost keeps it on. Named tag_csrf_token rather than reusing the global csrf_token key specifically to avoid the two being confused for each other; csrf_token is still accepted as an alias for configs written before the rename.
login_redirect_url string (global login_redirect_url, or "/") Per-vhost override of where an already-authenticated visitor (a still-valid session_token cookie) gets sent instead of the login form, and where a fresh login redirects to on success.
logout_redirect_url string (global logout_redirect_url) Per-vhost override of where /logout sends the visitor afterward.
login_via_otp boolean (global login_via_otp) Per-vhost override of whether a TOTP code is required at login, in addition to username/password.
page_change_password string (global page_change_password) Per-vhost override of the external page a password-reset link points visitors at.
max_age_session_cookie integer (seconds) (global max_age_session_cookie) Per-vhost override of the session cookie's Max-Age.
cors_origins array of strings (global cors_origins) Per-vhost override of the origins allowed to make cross-origin requests to this vhost. Whole-list replacement, not merged with the global list — set every origin this vhost should allow here if you override it at all.
smtp object (global smtp) Per-vhost override of the SMTP server used to send this vhost's password-reset emails — lets different domains send through different mail servers. Whole-object replacement (host/port/credentials/from/timeout must all be set together, not merged field-by-field with the global block). Same shape as the global smtp block; only read by proxyauth reset-password --vhost <hostname> today — see CLI Reference.
vhosts:
  - vhost: ["app.example.com"]
    session_cookie: true
    tag_csrf_token: true
    login_redirect_url: "/app"
    logout_redirect_url: "/"
    login_via_otp: true
    page_change_password: "https://app.example.com/lost-password.html"
    max_age_session_cookie: 3600
    cors_origins: ["https://app.example.com"]
    smtp:
      host: smtp.app.example.com
      port: 587
      username: noreply@app.example.com
      password: "..."
      from: "App <noreply@app.example.com>"
      timeout_secs: 10
    routes:
      - prefix: "/"
        target: "http://127.0.0.1:8000"

  - vhost: ["other.example.com"]
    smtp:
      host: smtp.another-domain.com
      port: 587
      username: noreply@other.example.com
      password: "..."
      from: "Other <noreply@other.example.com>"
      timeout_secs: 10
    routes:
      - prefix: "/"
        target: "http://127.0.0.1:9000"

A field left unset on both the route and its vhosts: group falls through to the matching global setting in config.json, exactly as if per-vhost overrides didn't exist for it — nothing changes for a vhost that doesn't set any of these.

Vhost login authorization

Separate from, and earlier than, Access control below: this decides whether a login attempt on this vhost's /auth succeeds at all, before any session or route access even enters the picture. Access control (below) governs what an already-logged-in visitor can reach; this governs who can log in here in the first place.

Key Type Default Description
allow_users array of strings [] Usernames allowed to log in via this vhost. Combines with allow_groups/allow_roles as an OR — see below.
allow_groups array of strings [] Groups allowed to log in via this vhost, checked the same way as groups in Access control.
allow_roles array of strings [] Roles allowed to log in via this vhost, checked the same way as roles in Access control.
exclude_users array of strings [] Usernames explicitly denied login on this vhost, regardless of allow_users/allow_groups/allow_roles — an exclusion always wins, even over a direct username match or membership in an allowed group/role. For carving out an exception without restructuring the allow lists themselves, e.g. every member of an allowed group except one specific account.

⚠️ The default here is the opposite of Access control's username/groups/roles. Leaving allow_users/allow_groups/allow_roles all empty means nobody can log in on this vhost — not "anyone with valid credentials," which is what the equivalent empty state means for route-level access control. A vhost grants no login access at all until at least one of the three names someone in. This is deliberate: forgetting to set any of these on a new vhost gives you a vhost nobody can log into (safe, if inconvenient) rather than one anyone with valid credentials anywhere in the system can suddenly reach.

vhosts:
  - vhost: ["app.example.com"]
    allow_groups: ["ops"]
    allow_roles: ["admin"]
    exclude_users: ["toto"]
    routes:
      - prefix: "/"
        target: "http://127.0.0.1:8000"

Here, anyone in the ops group or with the admin role can log in — except toto, even if toto happens to be in ops or hold the admin role.

Usually set once per vhosts: group (login happens once for the whole vhost, not per route) rather than repeated on every route underneath — though the per-route fields are also available if a single route genuinely needs its own policy.

Self-service TOTP re-enrollment (allow_totp_reenroll)

⚠️ A deliberate, narrow security trade-off — read this before enabling it.

Key Type Default Description
allow_totp_reenroll boolean false Lets a user who already has a TOTP secret enrolled get a brand-new one — silently replacing the old — via /adm/auth/totp/get, using nothing but their username and password. No admin, no possession of the old authenticator app.

By default, /adm/auth/totp/get only ever hands out a TOTP secret once: the first time, at initial enrollment. Ask for it again with the same working username/password and it refuses with 409 Conflict — only an admin can clear an existing secret first (proxyauth reset-otp / /adm/auth/totp/reset, gated by token_admin; see CLI Reference), and only then can the user re-enroll. This field removes that admin step for a specific vhost: if the user already has a secret and this is true, ProxyAuth clears it and re-provisions a fresh one right there, in the same request.

What you're giving up: for any account this applies to, TOTP stops protecting against a stolen or guessed password the way two-factor authentication is meant to. Anyone who obtains the password can also take over the TOTP factor outright — generate their own new secret, enroll their own authenticator app with it, and the legitimate user's old app simply stops working with no notification beyond whatever your own monitoring picks up. This isn't a bypass of the password check (a password is still required) — it's a collapse of the second factor down to "whoever currently has the password controls it," which for most threat models defeats the point of having a second factor at all.

Only turn this on if you've deliberately decided that trade-off is acceptable for a specific vhost — e.g. a low-stakes internal tool where the operational cost of admin-mediated resets outweighs the reduced protection, not as a general convenience default.

vhosts:
  - vhost: ["internal-tool.example.com"]
    allow_totp_reenroll: true

Access control

Key Type Default Description
required_login boolean false If true, this route requires a valid session token/cookie — unauthenticated requests get 401 Unauthorized. If false, the route is public and forwarded without any authentication check. Was named secure before v1.0.0-beta5 — if routes.yml still uses the old key, ProxyAuth refuses to start and prints the offending route(s) instead of silently treating them as public.
username array of strings [] (empty) Usernames allowed to access this route — only checked when required_login: true. One of three ways in; see Group- and Role-Based Access Control for exactly how username/groups/roles combine, and what leaving all three empty means (it's not "nobody" — see the gotcha below).
groups array of strings [] (empty) Groups allowed to access this route, checked against each user's groups in config.json/the database. Same "one of three ways in" relationship to username/roles — see Group- and Role-Based Access Control.
roles array of strings [] (empty) Roles allowed to access this route, checked against each user's roles. Same relationship to username/groups. Roles are also still forwarded to the backend as X-User-Roles regardless of whether this field is used — see below.
allow_methods array of strings, or omitted (all methods allowed) Restricts this route to specific HTTP methods, e.g. ["GET", "POST"]. Requests with any other method get 405 Method Not Allowed, with an Allow header listing what's permitted. Omit to allow every method.

username, groups, and roles combine as an OR: a request gets through if it matches any of the three — an explicitly listed username, membership in an allowed group, or possession of an allowed role.

⚠️ Gotcha, reversed from what you might expect: if username, groups, and roles are all left empty, that's read as a deliberate choice — "any authenticated account may use this route" — not "nobody can access it". required_login still applies regardless (a valid session is mandatory either way); this only concerns which authenticated accounts get through. The moment even one of the three is non-empty, the route goes back to being allow-listed: only requests matching username/groups/roles get through. Use proxyauth check-routes to see, per route, exactly who that currently resolves to — including routes nobody can currently reach due to a typo in a group/role name.

X-User-Roles (comma-separated) and X-Groups (comma-separated) are forwarded to the backend on every request that gets through, independent of whether roles/groups were the reason it did — so the backend can apply its own finer-grained authorization on top of whatever ProxyAuth already allowed.


Path handling

Key Type Default Description
preserve_prefix boolean false If false (default), the matched prefix is stripped before forwarding: a request to /api/users with prefix: "/api" and target: "http://backend" forwards to http://backend/users. If true, the full original path (including the prefix) is forwarded: the same request forwards to http://backend/api/users.
secure_path boolean false If true, the request path is not forwarded at all — every request matching this rule is sent to exactly target, regardless of the subpath requested. Useful for routes that should always hit one fixed backend URL (health checks, a single-page app's index route, etc.). When secure_path: true, preserve_prefix has no effect.

CSRF

Key Type Default Description
need_csrf boolean true Per-route override for CSRF enforcement. Only has any effect when the server-wide session_cookie and csrf_token options (in config.json) are both enabled — in that case, set need_csrf: false on routes that don't need CSRF protection (e.g. a public GET-only API consumed by non-browser clients).

Logging

Key Type Default Description
log boolean (inherit) Per-route override for the access log. false silences the per-request log line for this route only. Unset means: inherit from the vhosts: group this route belongs to, then from logging.enabled in config.json.

Meant for endpoints where one line per request is pure noise — health checks, metrics scrapes, an internal readiness probe hit every second:

- prefix: /healthz
  target: http://127.0.0.1:3000
  required_login: false
  log: false

Only the access line disappears. Diagnostic events for this route keep flowing: upstream errors, timeouts, IP-blocklist rejections, token validation failures, path-traversal attempts. Silencing a route doesn't make you blind to it going wrong.

log can also be set on a vhosts: group, applying to every route under it that doesn't set its own — the same inheritance need_csrf uses. And logging.routes in config.json offers the same per-route switch keyed by prefix, for operators who'd rather keep every logging decision in one file; a route's own log: wins when both are set.

See Logging for the full precedence chain.


Compression

Key Type Default Description
compression object (inherit) Per-route override for response compression. Unset means: inherit from the vhosts: group, then from the global compression block in config.json.

Every field inside is itself optional, so a route can override one thing and inherit the rest:

vhosts:
  - vhost: ["app.example.com"]
    compression:
      enabled: true
      algorithm: br
      level: 6
    routes:
      - prefix: /api
        target: http://127.0.0.1:3000

      # SSE stream — compression buffers the entire body, which would
      # break streaming. Off for this route only.
      - prefix: /events
        target: http://127.0.0.1:3000
        compression:
          enabled: false

⚠️ Streaming routes must opt out. The compression middleware buffers the whole response body before encoding it. Every response ProxyAuth produces today is already fully buffered, so this changes nothing right now — but a Server-Sent Events endpoint, a long-poll route or a large streaming download would break: the client would receive nothing until the stream ended.

Gotcha with level, min_size and spawn_blocking_threshold: these have plain defaults rather than being optional, so "unset" is indistinguishable from "set to the default value". A route writing level: 5 while the global block says level: 9 inherits 9. If you need a route-specific level, pick a value that isn't the default.

See HTTP Compression Support for the full field list, negotiation rules and what is never compressed.


Custom response headers

Key Type Default Description
headers object {} Extra response headers to add — Content-Security-Policy (CSP), Strict-Transport-Security (HSTS), X-Frame-Options, Referrer-Policy, Permissions-Policy, or literally any other header. Each entry is "Header-Name": "value"; the value is used verbatim — a CSP policy's semicolon-separated directives all go in the one string, exactly as the header is written on the wire. ProxyAuth doesn't parse or validate CSP (or any other header's) syntax, just sets what you give it. Applied to every response this route produces — proxied, static, and error/redirect responses alike.
- prefix: "/"
  target: "http://127.0.0.1:8000"
  headers:
    Content-Security-Policy: "default-src 'self'; script-src 'self' 'unsafe-inline'; img-src 'self' data:"
    Strict-Transport-Security: "max-age=63072000; includeSubDomains"
    X-Frame-Options: "DENY"
    Referrer-Policy: "strict-origin-when-cross-origin"

Also settable on a vhosts: group, applying to every route under it. A route's own headers is merged with its group's (not replaced by it): the group's entries apply first, then the route's own entries are layered on top, so the route's value wins only on a key both define. This lets you set something like HSTS once for a whole vhost, then override just X-Frame-Options on one specific route without having to repeat the rest:

vhosts:
  - vhost: ["app.example.com"]
    headers:
      Strict-Transport-Security: "max-age=63072000; includeSubDomains"
      X-Frame-Options: "DENY"
    routes:
      - prefix: "/"
        target: "http://127.0.0.1:8000"
        headers:
          Content-Security-Policy: "default-src 'self'"
      # Inherits the group's X-Frame-Options: DENY, overrides it with
      # SAMEORIGIN for this one route — everything else about the
      # group's headers still applies here too.
      - prefix: "/admin"
        target: "http://127.0.0.1:8000"
        headers:
          X-Frame-Options: "SAMEORIGIN"

A header name or value that isn't valid for an HTTP header (a routes.yml typo, an unescaped control character, etc.) is skipped with a warning logged — the rest of the response, and every other configured header, is unaffected. It never turns the whole response into an error.

Scope: applied to route content responses (proxied and static). Not applied to pre-route-match rejections that happen before a route is even selected — an IP-blocklist 403, a CORS preflight rejection, or the global login redirect for / — since those aren't "this route's content" in the first place.


Dynamic tags (tag_proxyauth)

Key Type Default Description
tag_proxyauth boolean false Enables {{ username }}/{{ csrf_token }}/{{ proxyauth_version }}/{{ proxyauth_id }} substitution in this route's content — static files, the shared error/logout page, and proxied backend responses alike. Off by default and deliberately not inherited-then-on: scanning every response for tags has a real cost (reading the whole body as text, running the substitution pass) that a route with no ProxyAuth tags in its content shouldn't pay for nothing.
- prefix: "/"
  static: "/var/www/app/"
  static_index: "login.html"
  tag_proxyauth: true

{{ csrf_token }} specifically also depends on tag_csrf_token (see Per-vhost behavior overrides above) — tag_proxyauth: true with CSRF disabled (tag_csrf_token: false, or the global csrf_token: false) leaves {{ csrf_token }} untouched rather than injecting a token nobody's going to check. The other three tags aren't affected by this — only {{ csrf_token }} has this extra dependency.

See Dynamic Tags in Pages for what each tag resolves to and where substitution does and doesn't apply.


Anti-Replay

Key Type Default Description
need_anti_replay boolean true Per-route override for the anti-replay signing plugin. Only has any effect when the server-wide plugin_anti_replay option (in config.json) is also true — in that case, set need_anti_replay: false on routes that don't need a signed request (e.g. a health check, or a route with no signing clients).

Caching

Key Type Default Description
cache boolean true Controls the Cache-Control (and related) headers ProxyAuth sets on the response before returning it to the client. true: sets Cache-Control: public, max-age=N (N from cache_duration_secs, per-route or global) — for a proxied route this replaces whatever Cache-Control the backend itself sent, it doesn't leave it untouched. false: sets Cache-Control: no-store, no-cache, must-revalidate, max-age=0, plus Pragma: no-cache and Expires: 0. Applies uniformly to both proxied responses and files served via static: — use it for routes serving sensitive or per-user content that must never be cached by browsers/intermediaries.

Client certificates (mTLS to the backend)

Key Type Default Description
cert object {} If non-empty, ProxyAuth presents a client certificate when connecting to this route's backend (mutual TLS).
cert:
  file: "/etc/proxyauth/certs/client.pk12"
  key: "/etc/proxyauth/certs/client.key"

⚠️ This feature is marked experimental/lightly tested upstream — verify it works against your backend before relying on it in production.


Egress proxy

Key Type Default Description
proxy boolean false If true, requests to this route's backend are sent through an upstream HTTP proxy instead of connecting directly.
proxy_config string "" The upstream proxy URL to use, e.g. "http://myproxy:8888". Only relevant when proxy: true (or when backends failover is used — see below, where it's applied to every backend attempt).
proxy: true
proxy_config: "http://myproxy.internal:8888"

Load balancing (backends)

Key Type Default Description
backends array [] A list of backend URLs to load-balance across using weighted round-robin, with automatic failover on 5xx/timeout. target is still required alongside backends (it's used to build the outbound request URI's scheme/authority).

Each entry can be either a plain URL string (weight defaults to 1):

backends:
  - "http://10.0.0.1:8080"
  - "http://10.0.0.2:8080"

...or an object with an explicit weight:

backends:
  - url: "http://10.0.0.1:8080"
    weight: 3
  - url: "http://10.0.0.2:8080"
    weight: 1

Higher weight means a backend receives proportionally more traffic. A backend can be marked disabled/last-resort with weight: -1 — it's only used if every normal-weight backend is failing.

Behavior to be aware of:

  • On a 5xx response, ProxyAuth automatically retries the same request against the next backend. This is safe for GET/HEAD, but for POST/PUT/DELETE it means a backend that already applied a side effect before failing could have that request replayed against a different backend. Avoid relying on automatic failover for routes that aren't idempotent, or add idempotency handling on the backend side.
  • A short-lived "sticky" cache remembers the last successful backend per (method, target host) for a couple of seconds, to avoid flapping between backends on bursty traffic.

Filters (fine-grained request matching)

Key Type Default Description
filters object, or omitted (no extra filtering) An additional allow-list of conditions a request must satisfy, evaluated after required_login/username/allow_methods. All conditions in allow must match (logical AND) for the request to be allowed through.
filters:
  default_allow: false
  allow:
    - type: method
      pattern: "^(GET|POST)$"
    - type: path
      pattern: "^/api/v1/.*"
    - type: header
      name: "x-api-key"
      pattern: "^[a-zA-Z0-9]{32}$"
    - type: query
      name: "token"
      pattern: "^[a-f0-9]+$"
    - type: body_raw
      pattern: "^\\{.*\\}$"
    - type: body_json
      key: "action"
      pattern: "^(create|update)$"
Sub-key Type Default Description
default_allow boolean true What happens when allow is empty. true = allow everything (filters have no effect); false = deny everything until at least one condition is added.
allow array of conditions [] The list of conditions, all of which must match.

Condition types (type selects which one; pattern is always a Rust regex pattern):

type Extra key Matches against
method — The HTTP method (GET, POST, ...).
path — The canonicalized request path (after ./../percent-decoding normalization).
header name (regex) Any header whose name matches name; the condition passes if at least one matching header's value matches pattern.
query name (regex) Any query-string parameter whose name matches name; passes if at least one matching parameter's value matches pattern.
body_raw — The raw request body, interpreted as UTF-8 text.
body_json key (literal, not regex) The value at the given top-level JSON key, if the request's Content-Type is application/json.

Filters are a defense-in-depth allow-list, not a substitute for required_login/username — use them to further restrict what an already-authorized (or intentionally public) request is allowed to contain.


Full example

routes:
  # Public health check — no auth, always hits the same URL.
  # log: false keeps a once-a-second probe out of the access log;
  # errors on this route are still logged.
  - prefix: "/health"
    target: "http://127.0.0.1:8000/health"
    required_login: false
    secure_path: true
    cache: false
    log: false

  # Authenticated API, restricted to two named users plus anyone in the
  # "ops" group or holding the "support-agent" role, GET/POST only
  - prefix: "/api"
    target: "http://127.0.0.1:8000"
    required_login: true
    username: ["alice", "admin"]
    groups: ["ops"]
    roles: ["support-agent"]
    allow_methods: ["GET", "POST"]
    need_csrf: false
    need_anti_replay: true
    cache: false
    compression:
      enabled: true
      algorithm: br

  # Load-balanced backend pool with an egress proxy and a last-resort node
  - prefix: "/orders"
    target: "http://10.0.0.1:8080"
    required_login: true
    username: ["admin"]
    proxy: true
    proxy_config: "http://myproxy.internal:8888"
    backends:
      - url: "http://10.0.0.1:8080"
        weight: 3
      - url: "http://10.0.0.2:8080"
        weight: 3
      - url: "http://10.0.0.9:8080"
        weight: -1   # last resort only

  # Public route with a strict content filter instead of user-based auth
  - prefix: "/webhook"
    target: "http://127.0.0.1:9000/webhook"
    required_login: false
    filters:
      default_allow: false
      allow:
        - type: method
          pattern: "^POST$"
        - type: header
          name: "x-webhook-secret"
          pattern: "^wh_[a-f0-9]{40}$"

  # Server-Sent Events — compression buffers the whole body, which
  # would break streaming, so it's explicitly off here.
  - prefix: "/events"
    target: "http://127.0.0.1:8000"
    required_login: true
    compression:
      enabled: false

  # Catch-all, forwarded with the full original path preserved
  - prefix: "/"
    target: "http://127.0.0.1:8000"
    required_login: false
    preserve_prefix: true

See also

  • config.json Reference — server-wide options (session_cookie, csrf_token, plugin_anti_replay, trust_proxy_forward_for, rate limits, etc.) that several route-level fields here depend on.
  • Group- and Role-Based Access Control — how username/groups/roles combine in depth, the "all empty" gotcha above, and X-Groups/X-User-Roles.
  • Anti-Replay Protection — what need_anti_replay gates, signature format, and the ProxyAuth browser extension.
  • Logging — what log: silences, the full precedence chain, and the access-log format placeholders.
  • HTTP Compression Support — what compression: inherits, negotiation rules, and the streaming caveat.
  • CLI Reference — routes-audit/check-access/check-routes, to sanity-check who can reach what before (or after) deploying a routes.yml change.
  • TOTP (2FA) Enrollment & Reset — Admin Guide — 2FA setup, unrelated to routing but referenced by required_login/username above (a "required_login" route only checks that a valid session exists, which itself may or may not have required TOTP depending on login_via_otp) — and the full admin-mediated reset flow that allow_totp_reenroll above bypasses.
  • Dynamic Tags in Pages — what {{ username }}/{{ csrf_token }}/{{ proxyauth_version }}/{{ proxyauth_id }} resolve to, and exactly where tag_proxyauth does and doesn't apply.