Since version 1.4.40 lighttpd supports file globs for includes. See announcement: https://www.lighttpd.net/2016/7/16/1.4.40/
Signed-off-by: Alexander Dahl <[email protected]> --- projectroot/etc/lighttpd/lighttpd.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projectroot/etc/lighttpd/lighttpd.conf b/projectroot/etc/lighttpd/lighttpd.conf index 86048f0..c6f1e64 100644 --- a/projectroot/etc/lighttpd/lighttpd.conf +++ b/projectroot/etc/lighttpd/lighttpd.conf @@ -69,5 +69,4 @@ mimetype.assign = ( index-file.names = ( "index.html" ) -include_shell "[ \"$(ls -A conf.d/)\" ] && cat conf.d/*.conf" - +include "conf.d/*.conf" -- 2.1.4 _______________________________________________ ptxdist mailing list [email protected]
