"mod_compress",
"mod_evasive",
"mod_fastcgi",
+ "mod_redirect",
"mod_status"
)
#
$HTTP["remoteip"] == "143.210.16.160" { url.access-deny = ("") }
+#
+# Rule to block tilesAtHome when somebody decides to queue vast
+# number of tiles for rerendering
+#
+#$HTTP["useragent"] == "tilesAtHome" { url.access-deny = ("") }
+
#
# Limit connections to 20 per IP address
#
".txt" => "text/plain"
)
+#
+# Enable compression of appropriate static content
+#
+compress.filetype = (
+ "application/x-javascript",
+ "application/x-shockwave-flash",
+ "text/css",
+ "text/html",
+ "text/plain"
+)
+
+#
+# Cache compressed content
+#
+compress.cache-dir = "/var/cache/lighttpd"
+
+#
+# Redirect wiki requests to the wiki
+#
+url.redirect = ( "^/wiki/(.*)$" => "http://wiki.openstreetmap.org/$1" )
+
#
# Serve static content from the rails public area ourselves
#