mirror of
https://gitlab.com/hacklab01/pivilion.git
synced 2025-04-29 16:47:17 +00:00
Update lighttpd.conf for debian bullseye
This commit is contained in:
parent
bcce102708
commit
502031e49c
@ -1,7 +1,7 @@
|
|||||||
server.modules = (
|
server.modules = (
|
||||||
"mod_access",
|
"mod_access",
|
||||||
"mod_alias",
|
"mod_alias",
|
||||||
"mod_compress",
|
"mod_deflate",
|
||||||
"mod_redirect",
|
"mod_redirect",
|
||||||
# "mod_rewrite",
|
# "mod_rewrite",
|
||||||
)
|
)
|
||||||
@ -19,8 +19,8 @@ index-file.names = ( "index.php", "index.html", "index.lighttpd.html"
|
|||||||
url.access-deny = ( "~", ".inc" )
|
url.access-deny = ( "~", ".inc" )
|
||||||
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
|
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
|
||||||
|
|
||||||
compress.cache-dir = "/var/cache/lighttpd/compress/"
|
deflate.cache-dir = "/var/cache/lighttpd/compress/"
|
||||||
compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
|
deflate.mimetypes = ( "application/javascript", "text/css", "text/html", "text/plain" )
|
||||||
|
|
||||||
$SERVER["socket"] == ":81" {
|
$SERVER["socket"] == ":81" {
|
||||||
server.document-root = "/var/www/html/pivilion/"
|
server.document-root = "/var/www/html/pivilion/"
|
||||||
@ -29,7 +29,8 @@ $SERVER["socket"] == ":81" {
|
|||||||
# default listening port for IPv6 falls back to the IPv4 port
|
# default listening port for IPv6 falls back to the IPv4 port
|
||||||
include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
|
include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
|
||||||
include_shell "/usr/share/lighttpd/create-mime.conf.pl"
|
include_shell "/usr/share/lighttpd/create-mime.conf.pl"
|
||||||
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
|
include "/etc/lighttpd/conf-enabled/*.conf"
|
||||||
|
#include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
|
||||||
|
|
||||||
#directory listing
|
#directory listing
|
||||||
#dir-listing.activate = "enable"
|
#dir-listing.activate = "enable"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user