xbus-http serve - Serve http server.

Synopsis

Serve http server.

xbus-http serve [flags]

Options

--help

help for serve

--http.host

Listen on the given host/ip

--http.port

Listen on the given port

--http.uipath

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

--http.websocket

Enable the websocket gateway

Options inherited from parent commands

--account-id

Account ID

--account-name

Account Name

--config

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

--debug

Enable debug mode

--force-start

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

--full-version

Show version and commit hash

--nats-timeout

NATS Timeout

--nats-url

NATS url

--no-reconnect

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

--sentry.dsn

Sentry DSN

--tls.certificate

Certificate (a path or a PEM encoded cert)

--tls.csr

CSR (a path or a PEM encoded CSR)

--tls.private-key

Private key (a path or a PEM encoded key)

--tls.timeout

TLS Timeout

--trace

Enable trace mode

--version

Show version

SEE ALSO

Auto generated by spf13/cobra on 24-Nov-2023