19 lines
527 B
YAML
19 lines
527 B
YAML
# By default, the server accepts connections on all addresses.
|
|
# You can limit this by setting `bind-address` to a specific IP address.
|
|
bind-address: "::"
|
|
|
|
# Choose a port number to listen on.
|
|
port: __PORT__
|
|
|
|
# The log level of the server.
|
|
# You can choose from: error, warn, info, debug and trace.
|
|
log-level: info
|
|
|
|
# The hooks.
|
|
hooks:
|
|
# A hook that prints the script environment, useful for debugging.
|
|
# Output is sent to the server log, not as HTTP response body.
|
|
- url: "/print-env"
|
|
commands:
|
|
- cmd: ["env"]
|