Lighttpd

lighttpd is a fast, lightweight web server. Its primary intention is to provide a secure yet powerful web server to system administrators.

Installation
Install :

Next, make sure the lighttpd service is started automatically:

Configuration
The lighttpd configuration is handled by. Example 1 shows a single-site access, with SSL and no dynamic capabilities (such as PHP).

To enable additional functionalities configure needed modules in. For instance to enable PHP usig the FastCGI processor:

IP access lists
Example 3 shows how to allow access to a particular site /server-status only to certain IP addresses f.e. 192.168.1.10 127.0.0.1

Troubleshooting
Verifying configuration file with lighttpd-angel, it will return the exitcode 0, if everything is configured properly,

If the configuration file has errors, it will print it to stdout, like in a example below: