Browse Source

lighttpd: lighttpd.conf enable flag for HTTP/2

lighttpd.conf reference server.feature-flags

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
lilik-openwrt-22.03
Glenn Strauss 4 years ago
parent
commit
59ae734bed
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      net/lighttpd/files/lighttpd.conf

+ 7
- 0
net/lighttpd/files/lighttpd.conf View File

@ -11,6 +11,13 @@ index-file.names = ( "index.php", "index.html",
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
### Features
#https://redmine.lighttpd.net/projects/lighttpd/wiki/Server_feature-flagsDetails
server.feature-flags += ("server.h2proto" => "enable")
server.feature-flags += ("server.h2c" => "enable")
server.feature-flags += ("server.graceful-shutdown-timeout" => 5)
#server.feature-flags += ("server.graceful-restart-bg" => "enable")
### Options that are useful but not always necessary:
#server.chroot = "/"
#server.port = 81


Loading…
Cancel
Save