1 # This is a minimal example config
2 # See /usr/share/doc/lighttpd
3 # and http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions
6 server.username = "http"
7 server.groupname = "http"
8 server.document-root = "/srv/http"
9 server.pid-file = "/var/run/lighttpd.pid"
10 server.errorlog = "/var/log/lighttpd/error.log"
11 dir-listing.activate = "enable"
12 index-file.names = ( "index.html" )
13 mimetype.assign = ( ".html" => "text/html", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png" )
15 server.modules = ( "mod_h264_streaming" )
17 ## h264 Streaming Module
19 # Files ending in .mp4 and .f4v are served by the module
20 h264-streaming.extensions = ( ".mp4", ".f4v" )
22 # The number of seconds after which the bandwidth is shaped (defaults to 0=disable)
23 h264-streaming.buffer-seconds = 10