remove unused lighttpd config files

This commit is contained in:
Andrea Blankenstijn 2022-06-08 14:25:45 +00:00
parent 740f5db821
commit e49f9ff6c9
16 changed files with 0 additions and 563 deletions

View file

@ -1,40 +0,0 @@
#######################################################################
##
## Authentication Module
## -----------------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAuth
## for more info and many more options.
##
server.modules += ( "mod_auth" )
#server.modules += ( "mod_authn_file" )
#auth.backend = "plain"
#auth.backend.plain.userfile = "/etc/lighttpd/lighttpd.user"
#server.modules += ( "mod_authn_ldap" )
#auth.backend = "ldap"
#auth.backend.ldap.hostname = "localhost"
#auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
#auth.backend.ldap.filter = "(uid=$)"
#auth.require = ( "/server-status" =>
# (
# "method" => "digest",
# "realm" => "Server Status",
# "require" => "valid-user"
# ),
# )
##
## cache passwords/digests in memory to reduce load on the backend
## max-age is in seconds
## cache is checked for expiration every 8 seconds, so actual
## caching may be up to 8 seconds longer than configured max-age.
## default: inactive (no caching)
##
#auth.cache = ("max-age" => "600")
##
#######################################################################

View file

@ -1,60 +0,0 @@
#######################################################################
##
## CGI modules
## ---------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/docs_modcgi
##
server.modules += ( "mod_cgi" )
##
## Plain old CGI handling
##
## For PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini.
##
cgi.assign = ( ".pl" => "/usr/bin/perl",
".cgi" => "/usr/bin/perl",
".rb" => "/usr/bin/ruby",
".erb" => "/usr/bin/eruby",
".py" => "/usr/bin/python" )
##
## to get the old cgi-bin behavior of apache
##
## Note: make sure that mod_alias is loaded if you uncomment the
## next line. (see modules.conf)
##
#alias.url += ( "/cgi-bin" => server_root + "/cgi-bin" )
#$HTTP["url"] =~ "^/cgi-bin" {
# cgi.assign = ( "" => "" )
#}
##
## require execute permission (+x) on files for CGI scripts
## default: disable
##
#cgi.execute-x-only = "enable"
##
## process X-Sendfile (if present) from CGI response
## https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModFastCGI#X-Sendfile
## default: disable
##
#cgi.x-sendfile = "enable"
#cgi.x-sendfile-docroot = ( "/srv/www/html", "/srv/www/static" )
##
## Local Redirect Response optimization
## https://www.ietf.org/rfc/rfc3875 6.2.2 Local Redirect Response optimization
## default: disable
##
#cgi.local-redir = "enable"
##
## permit Upgrade, e.g. Upgrade: websocket
## default: disable
##
#cgi.upgrade = "enable"
##
#######################################################################

View file

@ -1,62 +0,0 @@
#######################################################################
##
## Output Compression
## --------------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModDeflate
##
server.modules += ( "mod_deflate" )
##
## mimetypes to compress
##
#deflate.mimetypes = ("text/") # prefix matches all text/* Content-Type responses
#deflate.mimetypes = ("text/html", "text/plain", "text/css", "text/javascript", "text/xml")
deflate.mimetypes = ("text/plain", "text/html")
##
## permitted encodings
##
deflate.allowed-encodings = ("brotli", "gzip", "deflate")
##
## optional
##
##
## file cache location
## lighttpd can store compressed files in cache by path and etag, and can serve
## compressed files from cache instead of re-compressing files each request
##
#deflate.cache-dir = "/path/to/compress/cache"
#deflate.cache-dir = cache_dir + "/compress"
##
## maximum response size (in KB) that will be compressed
## default: 131072 # measured in KB (131072 indicates 128 MB)
## Specifying 0 uses internal default of 128 MB as limit
##
#deflate.max-compress-size = 131072
#deflate.max-compress-size = 0
##
## minimum response size that will be compressed
## default: 256
##
#deflate.min-compress-size = 256 # measured in bytes
##
## system load average limit, above which mod_deflate is temporarily disabled
##
#deflate.max-loadavg = "3.50"
##
## tunables for compression algorithms
## (often best left at defaults)
##
#deflate.compression-level = 9
#deflate.output-buffer-size = 8192
#deflate.work-block-size = 2048
##
#######################################################################

View file

@ -1,24 +0,0 @@
#######################################################################
##
## Enhanced virtual hosting
## --------------------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModEVhost
##
server.modules += ( "mod_evhost" )
##
## define a pattern for the host url finding
## %% => % sign
## %0 => domain name + tld
## %1 => tld
## %2 => domain name without tld
## %3 => subdomain 1 name
## %4 => subdomain 2 name
## %_ => full domain name
## %{M.N} => single character at 1-indexed position N in the domain segment %M (e.g %0 - %9)
##
evhost.path-pattern = vhosts_dir + "/%3/htdocs/"
##
#######################################################################

View file

@ -1,22 +0,0 @@
#######################################################################
##
## Expire Module
## ---------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/docs_modexpire
##
server.modules += ( "mod_expire" )
##
## assignes a expiration to all files below the specified path. The
## specification of the time is made up of:
##
## <access|modification> <number> <years|months|days|hours|minutes|seconds>
##
#expire.url = (
# "/buggy/" => "access 2 hours",
# "/images/" => "access plus 1 seconds 2 minutes"
#)
##
#######################################################################

View file

@ -1,22 +0,0 @@
#######################################################################
##
## Magnet Module
## ---------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModMagnet
##
server.modules += ( "mod_magnet" )
##
##
##
#magnet.attract-raw-url-to = ( )
##
## as an example for that see the mod_magnet docs and
## http://pixel.global-banlist.de./
##
#magnet.attract-physical-path-to = ( conf_dir + "/cleanurl.lua" )
##
#######################################################################

View file

@ -1,14 +0,0 @@
#######################################################################
##
## Foo Module
## ---------------
##
server.modules += ( "mod_Foo" )
##
## foo
##
#foo.bar = 1
##
#######################################################################

View file

@ -1,35 +0,0 @@
#######################################################################
##
## Proxy Module
## ---------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModProxy
##
server.modules += ( "mod_proxy" )
##
## a value between 0 and 65535 to set the debug-level in the Proxy module.
## Currently only 0 and 1 are used. Use 1 to enable some debug output, 0 to
## disable it.
##
#proxy.debug = 1
##
## might be one of 'hash', 'round-robin' or 'fair' (default).
##
#proxy.balance = "fair"
##
## Handle all jsp requests via 192.168.0.101
##
#proxy.server = ( ".jsp" =>
# ( "tomcat" =>
# (
# "host" => "192.168.0.101",
# "port" => 80
# )
# )
# )
##
#######################################################################

View file

@ -1,21 +0,0 @@
#######################################################################
##
## RRD Tool Module
## -----------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModRRDTool
##
server.modules += ( "mod_rrdtool" )
##
## Path to the rrdtool binary.
##
rrdtool.binary = "/usr/bin/rrdtool"
##
## Path to the rrdtool database. You can override this in conditionals.
##
rrdtool.db-name = "/var/lib/lighttpd/lighttpd.rrd"
##
#######################################################################

View file

@ -1,51 +0,0 @@
#######################################################################
##
## SCGI Module
## ---------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSCGI
##
server.modules += ( "mod_scgi" )
##
## Ruby on Rails Example
##
## Normally you only run one Rails application on one vhost.
##
#$HTTP["host"] == "rails1.example.com" {
# server.document-root = server_root + "/rails/someapp/public"
# server.error-handler-404 = "/dispatch.fcgi"
# scgi.server = ( ".scgi" =>
# ("scgi-someapp" =>
# ( "socket" => socket_dir + "/someapp-scgi.socket",
# "bin-path" => server_root + "/rails/someapp/public/dispatch.scgi",
# "bin-environment" => (
# "RAILS_ENV" => "production",
# "TMP" => home_dir + "/rails/someapp",
# ),
# )
# )
# )
#}
##
## 2nd Ruby on Rails Example
##
## This time we launch the rails application via scgi_rails externally.
##
#$HTTP["host"] == "rails2.example.com" {
# server.document-root = server_root + "/rails/someapp/public"
# server.error-handler-404 = "/dispatch.scgi"
# scgi.server = ( ".scgi" =>
# ( "scgi-tcp" =>
# (
# "host" => "127.0.0.1",
# "port" => 9998,
# "check-local" => "disable",
# )
# )
# )
#}
##
#######################################################################

View file

@ -1,35 +0,0 @@
#######################################################################
##
## Secure Download Module
## ------------------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSecDownload
##
server.modules += ( "mod_secdownload" )
##
## Document root for the download area.
## The directory should not be below your normal
## document root!
##
#secdownload.document-root = server_root + "/downloads"
##
## Secret string that will be used for the checksum calculation.
##
#secdownload.secret = ""
##
## How long is the secret valid?
##
## Default: 60 seconds
##
#secdownload.timeout = 60
##
## Prefix for the download area.
##
#secdownload.uri-prefix = "/download/"
##
#######################################################################

View file

@ -1,28 +0,0 @@
#######################################################################
##
## Simple Virtual hosting
## ------------------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSimpleVhost
##
server.modules += ( "mod_simple_vhost" )
## If you want name-based virtual hosting add the next three settings and load
## mod_simple_vhost
##
## document-root =
## virtual-server-root + virtual-server-default-host + virtual-server-docroot
## or
## virtual-server-root + http-host + virtual-server-docroot
##
simple-vhost.server-root = vhosts_dir + "/"
simple-vhost.default-host = "default.example.com"
simple-vhost.document-root = "/htdocs/"
##
## Print some errors for finding the document-root
##
#simple-vhost.debug = 1
##
#######################################################################

View file

@ -1,49 +0,0 @@
#######################################################################
##
## Server Side Includes
## -----------------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSSI
##
server.modules += ( "mod_ssi" )
##
## which extensions should be ran through mod_ssi.
##
ssi.extension = ( ".shtml" )
##
## The ssi.conditional-requests directive only affects requests
## handled by the SSI module and allows to declare which SSI pages
## are cacheable and which are not. This directive can be enabled
## or disabled globally and/or in any context.
##
## As the name of this directive suggests, conditional requests will
## be handled appropriately for any SSI page for which the directive
## is enabled. In particular, the "ETag" and "Last-Modified" headers
## will both be sent. Conversely, these headers will NOT be sent for
## pages for which the directive is disabled.
##
## The directive should be set to "enable" ONLY for requests that are
## known to generate cacheable documents. An SSI page which only
## includes contents from other static files and/or which uses SSI
## commands that produce predictable output (e.g. the echo command
## for the LAST_MODIFIED variable) is likely to be cacheable.
##
## The directive should be set to "disable" for ALL other documents,
## that is, for SSI pages which depend on non-predictable input such
## as (but not limited to) output from ssi exec commands, data from
## the client's request headers (other than the request URI), or any
## other non constant input such as the current date or time, the
## client's user-agent, etc...
##
## Disabled by default.
##
## For further explanation of conditional requests, please see
## Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests
## https://tools.ietf.org/html/rfc7232
##
#ssi.conditional-requests = "enable"
##
#######################################################################

View file

@ -1,24 +0,0 @@
#######################################################################
##
## Status Module
## ---------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModStatus
##
server.modules += ( "mod_status" )
$HTTP["remoteip"] == "127.0.0.0/8" {
##
## configure urls for the various parts of the module.
##
status.status-url = "/server-status"
status.config-url = "/server-config"
status.statistics-url = "/server-statistics"
##
## add JavaScript which allows client-side sorting for the connection
## overview
##
status.enable-sort = "enable"
}
##
#######################################################################

View file

@ -1,36 +0,0 @@
#######################################################################
##
## Userdir Module
## ----------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModUserDir
##
server.modules += ( "mod_userdir" )
##
## usually it should be set to "public_html" to take ~/public_html/ as
## the document root
## Default: empty (document root is the home directory)
##
userdir.path = "public_html"
##
## If set, don't check /etc/passwd for homedir
## Default: empty
#userdir.basepath = server_root + "/users/"
##
## list of usernames which may not use this feature
## Default: empty (all users may use it)
##
#userdir.exclude-user = ( "root", "postmaster" )
##
## if set, only users from this list may use the feature
## Default: empty (all users may use it)
##
#userdir.include-user = ("user1", "user2")
##
#######################################################################

View file

@ -1,40 +0,0 @@
#######################################################################
##
## WebDAV Module
## ---------------
##
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModWebDAV
##
server.modules += ( "mod_webdav" )
$HTTP["url"] =~ "^/dav($|/)" {
##
## enable webdav for this location
##
webdav.activate = "enable"
##
## By default the webdav url is writable.
## Uncomment the following line if you want to make it readonly.
##
#webdav.is-readonly = "enable"
##
## SQLite database for WebDAV properties and WebDAV locks
##
webdav.sqlite-db-name = home_dir + "/webdav.db"
##
## Log the XML Request bodies for debugging
##
#webdav.log-xml = "disable"
##
## mod_webdav further tunables
## See online doc:
## https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModWebDAV
##
#webdav.opts = ( ... )
}
##
#######################################################################