目前支持apache2,lighttpd,mongoose,plackup和webrick。
*$index.php[NC,L] 如果使用Lighttpd,则以下重写规则有效: Example#3为Lighttpd重写规则 url.rewrite-once=(".*\?
add_headerPublic-Key-Pins'pin-sha256="base64+primary==";pin-sha256="base64+backup==";max-age=5184000;includeSubDomains'always; Lighttpd
receive)-pack))$"\/usr/libexec/git-core/git-http-backend/$1ScriptAlias/git//var/www/cgi-bin/gitweb.cgi/ Lighttpd
可调用yii\web\Response::xSendFile(),如下简要列出一些常用Web服务器如何启用X-Sendfile 功能: Apache: X-SendfileLighttpdv1.4: X-LIGHTTPD-send-fileLighttpdv1.5
使用instaweb时的默认服务器是lighttpd。