Lighttpd

Example Lighttpd configurations for HTMLy using PHP-FPM:

# Required module
server.modules += (
    "mod_access",
    "mod_alias",
    "mod_compress",
    "mod_redirect",
    "mod_rewrite",
)

# Block access to .ini files. Important.
url.access-deny             = ( "~", ".inc", ".ini" )

url.rewrite-once = (
    "^/(themes|system|vendor|content/images)/(.*)" => "$0",
    "^/(favicon.ico|robots.txt|humans.txt|sitemap.xml)$" => "$0",
    "^/(.*.php)" => "$0",

    # Everything else is handles by htmly
    "^/(.*)$" => "/index.php/$1"
)