# lighttpd

> A secure, fast, compliant and very flexible web server

Source: https://talira.ai/catalog/lighttpd-qf4bjr8p
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure, Command-line tool
- Categories: [infrastructure / web servers](https://talira.ai/categories/infrastructure/web-servers)
- Licence: BSD-3-Clause[^3][^4]
- Pricing: Free and open source[^3]
- Free tier: yes[^3]
- Self-hostable: yes[^3]
- Plugins: yes[^5]
- Backed by: [lighttpd](https://talira.ai/orgs/lighttpd.md)
- Creator: Jan Kneschke

lighttpd (pronounced "lighty") is a small open source web server written in C, built to use little memory and CPU while serving many connections from a single event-driven process. It serves static files and passes dynamic requests to applications over FastCGI, SCGI (including the uwsgi protocol), CGI or HTTP with mod_proxy, tunnels WebSockets with mod_wstunnel, and adds URL rewriting, authentication, compression, WebDAV and Lua request scripting with mod_magnet. HTTP/2 has been on by default since 1.4.59, and TLS comes from a choice of [OpenSSL](https://talira.ai/catalog/openssl-fxkppzee.md), GnuTLS, mbedTLS, wolfSSL or NSS. The 1.4 series is the maintained line, released under the revised BSD licence.

## Links

- Website: https://www.lighttpd.net/
- GitHub: https://github.com/lighttpd/lighttpd1.4
- Docs: https://redmine.lighttpd.net/projects/lighttpd/wiki

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/lighttpd>[^1]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/lighttpd>[^2]

## Problems it solves

- a lightweight web server for a small VPS or a router with very little RAM
- serve static files fast from a single process without tuning worker processes
- run PHP through FastCGI behind a small, low-memory web server
- a web server for an embedded Linux device's admin interface
- proxy requests to a Python or Ruby app over SCGI or uwsgi without a heavy server in front
- forward WebSocket connections from my web server to a backend app
- serve a WebDAV share from a minimal web server
- rewrite and redirect URLs on a simple self-hosted website
- an nginx or Apache alternative under a BSD licence that uses less memory
- script request handling in Lua on a small web server

## Features

- single-process event-driven design for many concurrent connections
- HTTP/2 on by default since 1.4.59, with h2c cleartext upgrade
- TLS through mod_openssl, mod_gnutls, mod_mbedtls, mod_wolfssl or mod_nss
- FastCGI, SCGI (and uwsgi) and CGI gateways
- mod_proxy reverse proxy with load balancing
- mod_wstunnel WebSocket tunnelling
- mod_rewrite URL rewriting and redirects
- mod_auth basic and digest authentication with pluggable backends
- mod_deflate dynamic compression
- mod_webdav, with an optional SQLite database for properties
- mod_magnet: request handling in Lua

## Capabilities

- Takes plugins: plan not known

## Trust

Overall: 0.40 out of 1.
Signals: backing 0.50, extensibility 0.20.

- has a company behind it
- created by Jan Kneschke
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [nginx](https://talira.ai/catalog/nginx-nfjkekkp.md): HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy server, and mail proxy server
- [Apache HTTP Server](https://talira.ai/catalog/apache-http-server-cargq8xk.md): A secure, efficient and extensible open source web server
- [Caddy](https://talira.ai/catalog/caddy-vc8j4642.md): The Ultimate Server with Automatic HTTPS

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
[^3]: https://www.lighttpd.net/ (checked 20 Nov 2026)
[^4]: https://github.com/lighttpd/lighttpd1.4/blob/master/COPYING (checked 20 Nov 2026)
[^5]: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ConfigurationOptions (checked 20 Nov 2026)
