lighttpd¶
Giới thiệu và license¶
lighttpd ("lighty") là web server nhẹ, chạy theo mô hình event-driven một tiến trình, phù hợp với thiết bị nhúng có RAM và CPU hạn chế. License: BSD-3-Clause.
- Trang chủ: https://www.lighttpd.net/
- Mã nguồn: https://git.lighttpd.net/lighttpd/lighttpd1.4
Kích thước và tài nguyên sử dụng¶
Build / cross-compile¶
Yocto¶
Recipe có sẵn trong openembedded-core (meta/recipes-extended/lighttpd):
Petalinux¶
Buildroot¶
Cấu hình mẫu¶
server.document-root = "/www"
server.port = 80
server.username = "www-data"
server.groupname = "www-data"
server.modules += ( "mod_fastcgi" )
index-file.names = ( "index.html" )
dir-listing.activate = "disable"
Kiểm tra cú pháp cấu hình:
Tích hợp¶
CGI / FastCGI¶
HTTPS¶
Debug và tuning¶
Tài liệu tham khảo¶
- lighttpd documentation: https://redmine.lighttpd.net/projects/lighttpd/wiki