Base
env var
yaml value: str
Set a environment variable, in the form ‘$’ + variable name, E.g. $TCP_LISTEN_ADDR.
The value of the environment variable will be parsed just as you write this value as yaml string directly there.
humanize usize
yaml value: int | str
For str value, it support units of 2^10 like “KiB”, “MiB”, or units of 1000 like “KB”, “MB”.
For int value or str value without unit, the unit will be bytes.
See also
humanize duration
yaml value: int | str
For str value, at least one unit is required. Multiple units string like “1h 30m 71s” is also supported. See duration units for all supported units.
For int and real value, the unit will be seconds.
See also
upstream str
yaml value: str
The string should be in <ip>[:<port>] or <domain>[:<port>] format.
If omitted, the port will be set to 0.