server.port = 3004 # server.errorlog = "/dev/stdout" # accesslog.filename = "/dev/stdout" # debug.log-request-header-on-error = "enable" # debug.log-request-handling = "enable" # debug.log-request-header = "enable" server.modules = ( "mod_access", "mod_accesslog", "mod_webdav", "mod_auth", "mod_authn_file", "mod_status", "mod_alias", "mod_setenv", "mod_extforward", "mod_proxy" ) include "/etc/lighttpd/mime-types.conf" server.username = "webdav" server.groupname = "webdav" server.document-root = "/webdav" server.pid-file = "/run/lighttpd.pid" server.follow-symlink = "enable" url.access-deny = ("~", ".inc") var.logdir = "/var/log/lighttpd" accesslog.filename = var.logdir + "/access.log" server.errorlog = var.logdir + "/error.log" # automatically render index.html if it exists index-file.names = ( "index.html" ) url.rewrite-if-not-file = ( "^/(.*)/$ " => "$1/index.html" ) # Automatische Zipfile-Erzeugung für jpgs in Galerien $HTTP["url"] =~ "^/(start_zip|status|download)" { proxy.server = ( "" => ( ( "host" => "flask_zipfile_creator", "port" => 5000 ) ) ) } include "/config/webdav.conf" # compress.cache-dir = "/var/lib/lighttpd/cache/compress" # compress.filetype = ( # "text/css", # "text/javascript", # "text/plain", # "text/xml" # )