Skip to main content

Options

Options receive a value and support default values as well.

http-server --host 127.0.0.1
NameShortLongDescriptionDefault Value
Host-h--hostAddress to bind the server127.0.0.1
Port-p--portPort to bind the server7878
Configuration File-c--configConfiguration file. ExampleN/A
TLSN/A--tlsEnable TLS for HTTPS connections. Requires a Certificate and Key. ReferenceN/A
TLS CertificateN/A--tls-certPath to TLS certificate file. Depends on --tlscert.pem
TLS KeyN/A--tls-keyPath to TLS key file. Depends on --tlskey.rsa
TLS Key AlgorithmN/A--tls-key-algorithmAlgorithm used to generate certificate key. Depends on --tlsrsa
UsernameN/A--usernameUsername to validate using basic authenticationN/A
PasswordN/A--passwordPassword to validate using basic authentication. Depends on --usernameN/A
ProxyN/A--proxyProxy requests to the provided URLN/A