Skip to content

first-config.yml

All examples

Change addresses, allowlists, certificate paths, and other deployment-specific values before use. Read the file's prerequisites, then run tobaru --dry-run config.yaml with the adapted file. Validation does not check backend availability, listener binding, or firewall permissions.

examples/first-config.yml
- address: 127.0.0.1:8080
transport: tcp
target:
allowlist: 127.0.0.1/32
default_http_action:
type: serve-message
status_code: 200
content: "Hello from tobaru!\n"
response_headers:
Content-Type: text/plain

View source at this revision