How to limit lighttpd´s max upload file size?

well this is also pretty easy, just be sure to keep in mind the value is set in kilobytes (KB)!
You just have to put that in you config file: 

server.max-request-size = 4096

This will limit the upload file size to 4096 kilobytes, which equals 4 megabytes (MB).

You cannot comment on this entry