http-server example
Example 1: simple http server
npm install --global http-server
Example 2: http-server
Starting up http-server, serving ./ through httpsAvailable on: https:127.0.0.1:8080 https:192.168.1.101:8080 https:192.168.1.104:8080Hit CTRL-C to stop the server
Example 3: http-server
http-server -S -C cert.pem
Example 4: http-server
openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem