介绍

运行 lighttpd2

lighttpd 需要两个配置文件,通常位于以下两个位置

源代码中的contrib/目录包含示例配置文件。

然后使用以下命令启动 lighttpd2

/usr/sbin/lighttpd2 -c /etc/lighttpd2/angel.conf

该进程不会分叉到后台运行,如果需要,您需要自行操作。
我们推荐使用runit来运行 lighttpd2(请查看contrib/service目录)。