mirror of https://github.com/bastienwirtz/homer
feat(logs): get lighthttpd accesslog in docker logs
parent
31f7cfa09f
commit
13fb05696a
|
@ -14,4 +14,5 @@ if [[ "${INIT_ASSETS}" == "1" ]] && [[ ! -f "/www/assets/config.yml" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Starting webserver"
|
echo "Starting webserver"
|
||||||
|
exec 3>&1
|
||||||
exec lighttpd -D -f /lighttpd.conf
|
exec lighttpd -D -f /lighttpd.conf
|
||||||
|
|
|
@ -2,7 +2,7 @@ include "/etc/lighttpd/mime-types.conf"
|
||||||
include_shell "/etc/lighttpd/ipv6.sh"
|
include_shell "/etc/lighttpd/ipv6.sh"
|
||||||
|
|
||||||
server.port = env.PORT
|
server.port = env.PORT
|
||||||
server.modules = ( "mod_alias" )
|
server.modules = ( "mod_alias", "mod_accesslog" )
|
||||||
server.username = "lighttpd"
|
server.username = "lighttpd"
|
||||||
server.groupname = "lighttpd"
|
server.groupname = "lighttpd"
|
||||||
server.document-root = "/www"
|
server.document-root = "/www"
|
||||||
|
@ -10,3 +10,5 @@ alias.url = ( env.SUBFOLDER => "/www" )
|
||||||
server.indexfiles = ("index.html")
|
server.indexfiles = ("index.html")
|
||||||
server.follow-symlink = "enable"
|
server.follow-symlink = "enable"
|
||||||
server.feature-flags += ( "server.clock-jump-restart" => 0 )
|
server.feature-flags += ( "server.clock-jump-restart" => 0 )
|
||||||
|
server.max-request-field-size = 65535
|
||||||
|
accesslog.filename = "/dev/fd/3"
|
||||||
|
|
Loading…
Reference in New Issue