inndx/
GitHub

Host labels

A condition that keeps a page based on labels attached to its host.

A condition decides whether a fetched page is processed and its result kept. Conditions are configured inside a condition step under a pipeline's steps; a single condition step holds a list of conditions. This page documents the host_labels condition.

The host_labels condition keeps or excludes a page based on labels attached to the URL's host. Set either allow or deny, not both.

FieldTypeRequiredDefaultDescription
allowmap of string to stringnononeLabels the host must carry for the page to be kept.
denymap of string to stringnononeLabels that exclude the page.
steps:
  - kind: condition
    params:
      - kind: host_labels
        params:
          allow:
            tier: priority

Search docs

Search the Self-host documentation