Do not activate letsencrypt.conf if found

This commit is contained in:
WaLLy3K 2017-05-02 17:28:51 +10:00 committed by GitHub
parent 74b15d10d9
commit 7bcea98d0c

View file

@ -51,6 +51,7 @@ compress.filetype = ( "application/javascript", "text/css", "text/html
include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.assign.pl"
#include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
include_shell "find /etc/lighttpd/conf-enabled -name '*.conf' -a ! -name 'letsencrypt.conf' -printf 'include \"%p\"\n' 2>/dev/null"
# If the URL starts with /admin, it is the Web interface
$HTTP["url"] =~ "^/admin/" {