Lighttpd

The lighttpd web server 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:

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: