Files
Homer/lighttpd.conf

19 lines
700 B
Plaintext
Raw Normal View History

2021-12-09 13:09:09 +01:00
include "/etc/lighttpd/mime-types.conf"
2023-09-08 01:44:07 -04:00
include_shell "/etc/lighttpd/ipv6.sh"
2021-12-09 13:09:09 +01:00
server.port = env.PORT
server.modules = ( "mod_alias", "mod_accesslog" )
server.username = "lighttpd"
server.groupname = "lighttpd"
server.document-root = "/www"
alias.url = ( env.SUBFOLDER => "/www" )
server.indexfiles = ("index.html")
server.follow-symlink = "enable"
2022-07-03 22:09:14 +02:00
server.feature-flags += ( "server.clock-jump-restart" => 0 )
server.max-request-field-size = 65535
accesslog.filename = "/dev/fd/3"
# Avoid logging docker healthcheck request
$HTTP["remote-ip"] == "127.0.0.1" { accesslog.filename = "" }
$HTTP["remote-ip"] == "[::1]" { accesslog.filename = "" }