]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd-mod_setenv.conf
up to 1.4.37
[packages/lighttpd.git] / lighttpd-mod_setenv.conf
index 5b91daddfeeceb7cd9143d88025330ed504d6620..68763d96e522b6fd14effc624dd3a7d8ba482b21 100644 (file)
@@ -9,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.041951 seconds and 4 git commands to generate.