xbus-http serve - Serve http server.


Serve http server.

xbus-http serve [flags]



help for serve


Listen on the given host/ip


Listen on the given port


Path to the ui static files. If set, it is served on ‘/ui’ and enables the websocket gateway


Enable the websocket gateway

Options inherited from parent commands


Account ID


Account Name


config file; default is $HOME/.config/xbus/xbus-http.yaml)


Enable debug mode


Enable force start (stay up even if the server is not reachable on start)


Show version and commit hash


NATS Timeout


NATS url


Disable auto-reconnect and shutdown as soon as any connection error occurs


Sentry DSN


Certificate (a path or a PEM encoded cert)


CSR (a path or a PEM encoded CSR)


Private key (a path or a PEM encoded key)


TLS Timeout


Enable trace mode


Show version


Auto generated by spf13/cobra on 3-Jun-2021