lighttpd: lighttpd.conf enable flag for HTTP/2
authorGlenn Strauss <gstrauss@gluelogic.com>
Fri, 30 Oct 2020 04:34:02 +0000 (00:34 -0400)
committerGlenn Strauss <gstrauss@gluelogic.com>
Mon, 30 Nov 2020 14:27:28 +0000 (09:27 -0500)
lighttpd.conf reference server.feature-flags

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
net/lighttpd/files/lighttpd.conf

index dd577652c73198389d51751fdf70233fd804f0c4..3846acf748aef5276d3ef77a92722df75f345b13 100644 (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