Project

General

Profile

Bug #2913 » light.conf

lighttpd minimal configuration to recreate the issue - blowfist, 2018-10-07 02:43

 
server.modules = (
"mod_proxy"
)

server.document-root = "/var/www"
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
server.errorlog = "/var/log/lighttpd/error.log"
server.pid-file = "/var/run/lighttpd.pid"
server.username = "_lighttpd"
server.groupname = "_lighttpd"
server.port = 80

$HTTP["host"] =~ "localhost" {
proxy.server = ( "" => ((
"host" => "localhost"
,"port" => 6080
))
)

#proxy.header = (
# "map-host-request" => (
# "-" => "127.0.0.1:6080"
# )
# ,"upgrade" => "enable"
#)

}

index-file.names = ( "index.php", "index.html", "index.lighttpd.html", "index.cgi" )
url.access-deny = ( "~", ".inc" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
(2-2/3)