📜  带有 ssl 启动的 http 服务器 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:18.386000             🧑  作者: Mango

代码示例1
$ http-server -S -C cert.pem -o
Starting up http-server, serving ./ through https
Available on:
  https:127.0.0.1:8080
  https:192.168.1.101:8080
  https:192.168.1.104:8080
Hit CTRL-C to stop the server