Skip to content

client.yaml ​

File: client.yaml. Env prefix KIRIVERS_CLIENT_.

KeyTypeDefaultMeaningWhen to change
addrstring:8080Listen addressReverse proxy or port conflict
modestringexample debugCombined with admin plane for process Gin modeProduction: release on both planes
tls_cert / tls_keypath""HTTPS only when both are non-emptyPlane-terminated TLS
trusted_proxiesstring[][]Empty = do not trust X-Forwarded-ForFill proxy IP/CIDR when a reverse proxy is in front
log.system / log.accessobjectsee exampleConsole + rolling fileAt least one sink per stream
yaml
addr: ":8080"
mode: release
tls_cert: ""
tls_key: ""
trusted_proxies: []

Expose this plane on the public network. Keep the admin plane on admin.yaml and reverse proxy.