Lighttpd... is easy!

(Posted: Monday, March 27, 2023)

A quick guide/howtos to get lighttpd up and running with SSL/vhosts so its easy to copy paste from one place.

On SSL

cat /etc/letsencrypt/live/{your domain}/cert.pem /etc/letsencrypt/live/{your domain}/privkey.pem > /etc/letsencrypt/live/{your domain}web.pem
ssl.pemfile = "/etc/letsencrypt/live/{your domain}/web.pem" # Combined Certificate
ssl.ca-file = "/etc/letsencrypt/live/{your domain}/chain.pem" # Root CA

On vhosts

On redirecting non-www to www