]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd-mod_setenv.conf
add ref to source
[packages/lighttpd.git] / lighttpd-mod_setenv.conf
index d9bde00528f12760cc83a0fd8ecd6101dbdaacb8..68763d96e522b6fd14effc624dd3a7d8ba482b21 100644 (file)
@@ -1,3 +1,7 @@
+# setenv module.
+#
+# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSetEnv
+
 server.modules += (
        "mod_setenv"
 )
@@ -5,3 +9,11 @@ server.modules += (
 #### setenv
 #setenv.add-request-header = ( "TRAV_ENV" => "mysql://user@host/db" )
 #setenv.add-response-header = ( "X-Secret-Message" => "42" )
+
+# Add CORS header for font requests
+# http://davidwalsh.name/cdn-fonts
+#$HTTP["url"] =~ "\.(?:eot|ttf|otf|woff)$" {
+#      setenv.add-response-header += (
+#              "Access-Control-Allow-Origin" => "*",
+#      )
+#}
This page took 0.028674 seconds and 4 git commands to generate.