This is the complete tutorial to install and configure the Lighttpd web server on Ubuntu 18.04. In this guide you will also find tips to optimize its performance by activating data compression, configuring a virtual host and improving keep-alive parameters.
Lighttpd Ubuntu Web Server