Merge pull request #3320 from kulikov-a/patch-6

security/acme: minor lighty config fixes
This commit is contained in:
Frank Wall 2023-02-22 13:49:28 +01:00 committed by GitHub
commit e055751e73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,18 +72,16 @@ $SERVER["socket"] == "[::1]:{{OPNsense.AcmeClient.settings.challengePort}}" { }
# to help the rc.scripts
server.pid-file = "/var/run/lighttpd-acme-challenge.pid"
# virtual directory listings
server.dir-listing = "disable"
# enable debugging
debug.log-request-header = "disable"
debug.log-response-header = "disable"
debug.log-request-handling = "disable"
debug.log-file-not-found = "disable"
# gzip compression
compress.cache-dir = "/tmp/acmelighttpdcompress/"
compress.filetype = ("text/plain","text/css", "text/xml", "text/javascript" )
# enable compression
deflate.cache-dir = "/tmp/acmelighttpdcompress/"
deflate.mimetypes = ("text/plain", "text/css", "text/xml", "text/javascript")
deflate.allowed-encodings = ("br", "gzip", "deflate")
server.max-request-size = 4096
server.tag = "lighttpd/ACME"