DOCS / CONFIGURATION

fence settings

Firewall defaults and rules.

Keys

KeyTypeDefaultDescription
default_actionstringdenyAction when no rule matches
allowarray[]List of allowed source CIDRs
rate_limitinteger1000Requests per minute per client
block_foxesbooleantrueEnable the Predator Radar blocklist

Example

fence:
  default_action: deny
  allow: []
  rate_limit: 1000
  block_foxes: true

Values set here apply to every environment unless overridden in a coop.production.yolk file. Read and write values from the terminal with cluck config, and validate the whole file with cluck doctor.

NoteYolkML has no tabs, no anchors, and no surprises. Indent with two spaces, and the file will behave.