The only nginx specific code is the use of the header X-Accel-Redirect to handle the download of files outside your web directory.
I believe that lighttpd has almost the same feature with x-sendfile (I'll let you google it if needed) so it shouldn't be hard to add (3-5 line change) assuming you're willing to test.
|