Maintenance pages should return 503 as the HTTP status code, not 200 as the official lighttpd site suggests.
But lighttpd (v 1.4.18) throws the ugly default 503 message alongwith the custom maintenance page. I looked around but could not find a solution. So I’ve hidden all h1 tags using CSS for now.
Since this looks like a bug, I’ve submitted a ticket for the issue.