http-server Command Examples

Simple static HTTP server to serve static files. More information: https://github.com/http-party/http-server.

http-server

http-server {{path/to/directory}} --port {{port}}

http-server --username {{username}} --password {{password}}

http-server -d {{false}}

http-server --ssl --cert {{path/to/cert.pem}} --key {{path/to/key.pem}}

http-server --log-ip

http-server --cors

http-server --silent