]> TLD Linux GIT Repositories - packages/lighttpd.git/blobdiff - mod_compress.conf
- merged 1.4.48 from PLD, TLDized
[packages/lighttpd.git] / mod_compress.conf
diff --git a/mod_compress.conf b/mod_compress.conf
new file mode 100644 (file)
index 0000000..7bbd6f1
--- /dev/null
@@ -0,0 +1,25 @@
+# Compress module.
+#
+# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModCompress
+
+server.modules += (
+       "mod_compress"
+)
+
+# Default: "bzip2", "gzip", "deflate"
+# Safe list is 'gzip, deflate'. bzip2 is problematic for some browsers (MSIE)
+#compress.allowed-encodings = ( "gzip", "deflate" )
+
+# Default: not set, compress the file for every request
+# Filenames saved to this dir have ETag appended, so theoretically you can use
+# common dir across domains for this.
+compress.cache-dir = "/var/cache/lighttpd/mod_compress"
+
+# Keep in mind that compressed JavaScript and CSS files are broken in some browsers.
+# Not setting any filetypes will result in no files being compressed.
+#compress.filetype = (
+#      "application/x-javascript",
+#      "text/css",
+#      "text/html",
+#      "text/xml",
+#)