lighttpd - Secure Web Server

AWS Application Servers

A secure, fast and lightweight web server that serves HTTPS out of the box, with a unique certificate generated on first boot.

Base
Hardened build
minimal ports, security patches applied at build time
Access
Unique credentials
generated on first boot, readable only by root
Verified
Boots working
services pass a health gate before release
Support
24/7, 365 days
by email and live chat, 24 hour response SLA

Overview

lighttpd, pronounced lighty, is a fast, event driven web server with a very small memory footprint. It serves static sites and assets and fronts application back ends over FastCGI or a proxy, and it is configured entirely through a single readable text file with no database and no administrative web console.

Why the cloudimg image

lighttpd comes preinstalled and hardened as a managed systemd service, serving HTTPS directly through its mod_openssl TLS engine with no separate reverse proxy to run. A unique self signed certificate is generated on first boot for every instance, so no key material ships in the image, plain HTTP is permanently redirected to HTTPS, directory listing is disabled and the server version token is suppressed. 24/7 cloudimg support is included.

Common uses

  • Serving static websites and assets
  • TLS terminating front end for applications
  • Lightweight origin server on small instances

Key features

  • lighttpd, the secure, fast and lightweight web server, fully installed as a hardened systemd service. Optimised for high performance with a very small memory footprint, it serves static sites and assets and fronts your application back ends, configured entirely from a single readable configuration file with no database and no admin console.
  • HTTPS served directly by lighttpd through the mod_openssl TLS engine, with no separate reverse proxy. On first boot each instance generates its own unique self signed certificate, so no key material is ever baked into the image, HTTP on port 80 is permanently redirected to HTTPS on port 443, and the image ships hardened with directory listing disabled and the server version token suppressed. No shared or default credentials, since a web server has no login.
  • 24/7 expert technical support from cloudimg with a one hour average response time for critical issues. Our engineers help with virtual host design, TLS certificate installation and renewal, FastCGI and proxy back ends, performance tuning and lighttpd version upgrades.

Description

This is a repackaged open source software product wherein additional charges apply for cloudimg support services.

lighttpd, pronounced lighty, is a secure, fast and flexible web server designed and optimised for high performance environments. With a small memory footprint compared with other web servers, effective management of the processor load and an advanced feature set, lighttpd is an ideal choice for serving static websites and assets, acting as a front end for application servers, and running on resource constrained instances where efficiency matters. This cloudimg image delivers lighttpd fully installed and hardened as a managed systemd service, so a working, TLS enabled web server is answering requests within minutes of launch.

lighttpd serves HTTPS directly through its built in TLS engine, the mod_openssl module, so there is no separate reverse proxy to run or maintain. On the first boot of your instance a one shot service generates a unique self signed TLS certificate for that specific instance, so every deployment gets its own key material and no certificate or private key is ever baked into the image. Plain HTTP on port 80 is permanently redirected with a 301 status to HTTPS on port 443, so clients are always upgraded to an encrypted connection. When you are ready for a browser trusted certificate you can drop in your own certificate and key, or use the accompanying guide to obtain one from a certificate authority.

Secure and lean by default: directory listing is disabled so the contents of a directory that has no index file are never exposed, the server version token is suppressed so the software version is not advertised in response headers, and only modern TLS protocol versions are enabled. The document root lives at the standard location and ships with a simple cloudimg landing page you can replace with your own site. lighttpd is configured entirely through a plain text configuration file, so your web server configuration lives in version controllable text and there is no database and no administrative web console to manage.

Application stack: lighttpd runs as the dedicated unprivileged web server account under systemd, listening on port 80 for HTTP, which redirects, and port 443 for HTTPS. There is no login and no password anywhere in the product, because a web server has no administrative account, so this image ships with no known or shared bootstrap credential of any kind.

AWS integrations: place instances behind an Application Load Balancer for high availability and TLS termination with AWS Certificate Manager; stream the lighttpd access and error logs to Amazon CloudWatch Logs for centralised monitoring; and serve or back up static assets with Amazon S3. For network isolation, deploy within a VPC and restrict the security group to ports 80 and 443 for the web tier and SSH to your administrative IP range.

Key capabilities: a fast, event driven web server with a very small memory footprint; HTTPS served directly by lighttpd through mod_openssl with a per instance self signed certificate generated at first boot; an automatic and permanent HTTP to HTTPS redirect; a hardened default posture with directory listing disabled and the server version token suppressed; a simple, readable configuration file for virtual hosts, static file serving, URL rewriting, access control and FastCGI or proxy back ends; and efficient static file delivery that makes lighttpd an excellent origin server or front end for your applications.

Get started: browse to the instance over HTTPS to see the cloudimg landing page, replace the document root with your own site or point lighttpd at your application back end, add virtual hosts and TLS certificates as described in the guide, then open ports 80 and 443 to your users. cloudimg engineers can help you design virtual hosts, configure TLS, tune performance and wire lighttpd in front of your applications after purchase.

All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

Related technologies

lighttpdweb serverhttpstlsmod_opensslstatic websitereverse proxyself hostedopen sourceapplication servers