diff options
author | graysky | 2021-12-08 07:40:07 -0500 |
---|---|---|
committer | graysky | 2021-12-08 07:40:10 -0500 |
commit | bc6bd5ddecbf6c21296a759b22d1b3e75e9575b0 (patch) | |
tree | f60178df1892f9cd8f3d933131edb40a6e89341c | |
parent | bb77fca3fcc83ce49dc6bce90bf484f182ae5cde (diff) | |
download | aur-bc6bd5ddecbf6c21296a759b22d1b3e75e9575b0.tar.gz |
Update to 5.6-3: lighttpd.pi-hole.conf updated
* Removed white spaces and mixed use of tabs and spaces (all spaces now)
* Updated deprecated options with contemporary ones:
compress.filetype --> deflate.mimetypes
compress.cache-dir --> deflate.cache-dir
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | lighttpd.pi-hole.conf | 53 |
3 files changed, 31 insertions, 30 deletions
@@ -1,7 +1,7 @@ pkgbase = pi-hole-server pkgdesc = The Pi-hole is an advertising-aware DNS/Web server. Arch adaptation for lan wide DNS server. pkgver = 5.6 - pkgrel = 2 + pkgrel = 3 url = https://github.com/pi-hole/pi-hole install = pi-hole-server.install arch = any @@ -28,8 +28,8 @@ pkgbase = pi-hole-server backup = etc/sudoers.d/pihole source = pi-hole-server-core-5.6.tar.gz::https://github.com/pi-hole/pi-hole/archive/v5.6.tar.gz source = pi-hole-server-admin-5.8.tar.gz::https://github.com/pi-hole/AdminLTE/archive/v5.8.tar.gz - source = arch-server-core-5.6-915667716.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-core-5.6.patch - source = arch-server-admin-5.8-915667716.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-5.8.patch + source = arch-server-core-5.6-279219426.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-core-5.6.patch + source = arch-server-admin-5.8-279219426.patch::https://raw.githubusercontent.com/max72bra/pi-hole-server-archlinux-customization/master/arch-server-admin-5.8.patch source = dnsmasq.include source = lighttpd.pi-hole.conf source = nginx.pi-hole.conf @@ -4,7 +4,7 @@ pkgname=pi-hole-server _pkgname=pi-hole pkgver=5.6 -pkgrel=2 +pkgrel=3 _wwwpkgname=AdminLTE _wwwpkgver=5.8 _now=`date +%N` diff --git a/lighttpd.pi-hole.conf b/lighttpd.pi-hole.conf index a0213b4a1ff0..3fc88707249d 100644 --- a/lighttpd.pi-hole.conf +++ b/lighttpd.pi-hole.conf @@ -16,41 +16,42 @@ ############################################################################### server.modules = ( - "mod_access", - "mod_accesslog", - "mod_expire", - "mod_compress", - "mod_redirect", - "mod_setenv", - "mod_rewrite", - "mod_fastcgi" + "mod_auth", + "mod_access", + "mod_accesslog", + "mod_expire", + "mod_deflate", + "mod_redirect", + "mod_setenv", + "mod_rewrite", + "mod_fastcgi" ) -mimetype.assign = ( - ".html" => "text/html", - ".txt" => "text/plain", - ".css" => "text/css", - ".js" => "application/x-javascript", - ".jpg" => "image/jpeg", - ".jpeg" => "image/jpeg", - ".gif" => "image/gif", - ".png" => "image/png", - ".svg" => "image/svg+xml", # thanks to nikke - "" => "application/octet-stream" - ) +mimetype.assign = ( + ".html" => "text/html", + ".txt" => "text/plain", + ".css" => "text/css", + ".js" => "application/x-javascript", + ".jpg" => "image/jpeg", + ".jpeg" => "image/jpeg", + ".gif" => "image/gif", + ".png" => "image/png", + ".svg" => "image/svg+xml", # thanks to nikke + "" => "application/octet-stream" +) -fastcgi.server = ( +fastcgi.server = ( ".php" => ( - "localhost" => ( + "localhost" => ( "bin-path" => "/usr/bin/php-cgi -d session.save_path=/run/pihole", "socket" => "/tmp/php-fastcgi.sock", "broken-scriptfilename" => "enable", - "max-procs" => 4, + "max-procs" => 4, "bin-environment" => ( "PHP_FCGI_CHILDREN" => "1" # default value ) ) - ) + ) ) server.document-root = "/srv/http/pihole" @@ -63,8 +64,8 @@ index-file.names = ( "index.php", "index.html", "index.lighttpd.html" url.access-deny = ( "~", ".inc", ".md", ".yml", ".ini" ) static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) -compress.cache-dir = "/var/cache/lighttpd/compress/" -compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" ) +deflate.cache-dir = "/var/cache/lighttpd/compress/" +deflate.mimetypes = ( "application/javascript", "text/css", "text/html", "text/plain" ) # If the URL starts with /admin, it is the Web interface $HTTP["url"] =~ "^/admin/" { |