zxxx牛人大佬:
https://linux.bytesex.org/misc/webfs.html

This is a simple http server for mostly static content.  

Download

webfs is available for download

https://www.kraxel.org/releases/webfs/

https://www.kraxel.org/releases/webfs/webfs-1.21.tar.gz


This is a simple http server for pure static content.

https://github.com/ourway/webfsd

https://github.com/ourway/webfsd/releases/download/1.21/webfsd.x64

Debian系统可以直接安装

  1. apt install webfs

然后在提供文件服务的目录执行

  1. webfsd -p 8000

就在后台运行了。在浏览器打开

http://ip:8000

就可以看到文件列表。

一颗赛艇牛人大佬:
python  -m http.server

akatom牛人大佬:
简单的web服务器?

zxxx牛人大佬:


python  -m http.server

请教一下,这个怎么后台运行呢?

zxxx牛人大佬:


简单的web服务器?

效果看起来和Nginx的autoindex功能差不多。