summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-01-06 13:47:34 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-01-06 13:47:34 -0500
commit60b3d27a4bba167d296de886b93888d82b69cac4 (patch)
tree8bcec6dd998ff1d99c36981ce358e9ebb69a178c
parent13fc844dcaebedbf56a849919c5d8d87bb652dc3 (diff)
downloadhtml5ks-60b3d27a4bba167d296de886b93888d82b69cac4.tar.xz
html5ks-60b3d27a4bba167d296de886b93888d82b69cac4.zip
Remove obsolete lighttpd.conf
-rw-r--r--lighttpd.conf82
1 files changed, 0 insertions, 82 deletions
diff --git a/lighttpd.conf b/lighttpd.conf
deleted file mode 100644
index 8c0699e..0000000
--- a/lighttpd.conf
+++ /dev/null
@@ -1,82 +0,0 @@
-server.document-root = var.CWD + "/www"
-server.port = 8080
-
-mimetype.assign = (
- ".appcache" => "text/cache-manifest",
- ".css" => "text/css",
- ".html" => "text/html; charset=utf-8",
- ".jpg" => "image/jpeg",
- ".js" => "application/javascript",
- ".json" => "application/json",
- ".mkv" => "video/x-matroska",
- ".mp4" => "video/mp4",
- ".ogg" => "audio/ogg",
- ".png" => "image/png",
- ".svg" => "image/svg+xml",
- ".ttf" => "application/x-font-ttf",
- ".txt" => "text/plain; charset=utf-8",
- ".webm" => "video/webm",
- ".webp" => "image/webp",
- ".woff" => "application/font-woff"
-)
-
-index-file.names = ("index.html")
-
-dir-listing.activate = "enable"
-
-server.modules = ( "mod_expire", "mod_compress", "mod_setenv" )
-
-expire.url = ("/dump/" => "access plus 1 years",
- "/css/font/" => "access plus 7 days",
- "/js/lib/" => "access plus 1 days",
- "/scripts/" => "access plus 1 days",
- "/" => "access plus 5 seconds")
-setenv.add-response-header += (
- "Cache-Control" => "public"
-)
-
-compress.cache-dir = "/tmp/lighttpd-compress"
-compress.filetype = ("text/html", "text/plain", "text/css", "application/javascript", "application/json")
-
-# I hate Firefox.
-$HTTP["url"] =~ ".ogg$" { setenv.add-response-header += ( "X-Content-Duration" => "0" ) }
-$HTTP["url"] == "/dump/bgm/Afternoon.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "176" ) }
-$HTTP["url"] == "/dump/bgm/Ah_Eh_I_Oh_You.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "126" ) }
-$HTTP["url"] == "/dump/bgm/Air_Guitar.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "73" ) }
-$HTTP["url"] == "/dump/bgm/Aria_de_l'Etoile.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "83" ) }
-$HTTP["url"] == "/dump/bgm/Breathlessly.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "113" ) }
-$HTTP["url"] == "/dump/bgm/Caged_Heart.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "81" ) }
-$HTTP["url"] == "/dump/bgm/Cold_Iron.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "182" ) }
-$HTTP["url"] == "/dump/bgm/Comfort.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "158" ) }
-$HTTP["url"] == "/dump/bgm/Concord.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "185" ) }
-$HTTP["url"] == "/dump/bgm/Daylight.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "106" ) }
-$HTTP["url"] == "/dump/bgm/Ease.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "148" ) }
-$HTTP["url"] == "/dump/bgm/Everyday_Fantasy.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "112" ) }
-$HTTP["url"] == "/dump/bgm/Friendship.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "76" ) }
-$HTTP["url"] == "/dump/bgm/Fripperies.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "88" ) }
-$HTTP["url"] == "/dump/bgm/Generic_Happy_Music.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "77" ) }
-$HTTP["url"] == "/dump/bgm/High_Tension.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "53" ) }
-$HTTP["url"] == "/dump/bgm/Hokabi.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "142" ) }
-$HTTP["url"] == "/dump/bgm/Innocence.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "193" ) }
-$HTTP["url"] == "/dump/bgm/Letting_my_Heart_Speak.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "156" ) }
-$HTTP["url"] == "/dump/bgm/Lullaby_of_Open_Eyes.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "189" ) }
-$HTTP["url"] == "/dump/bgm/Moment_of_Decision.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "243" ) }
-$HTTP["url"] == "/dump/bgm/Nocturne.low.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "229" ) }
-$HTTP["url"] == "/dump/bgm/Nocturne.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "229" ) }
-$HTTP["url"] == "/dump/bgm/Out_of_the_Loop.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "145" ) }
-$HTTP["url"] == "/dump/bgm/Painful_History.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "160" ) }
-$HTTP["url"] == "/dump/bgm/Parity.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "129" ) }
-$HTTP["url"] == "/dump/bgm/Passing_of_Time.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "48" ) }
-$HTTP["url"] == "/dump/bgm/Raindrops_and_Puddles.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "155" ) }
-$HTTP["url"] == "/dump/bgm/Red_Velvet.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "208" ) }
-$HTTP["url"] == "/dump/bgm/Romance_in_Andante_II.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "176" ) }
-$HTTP["url"] == "/dump/bgm/Romance_in_Andante.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "64" ) }
-$HTTP["url"] == "/dump/bgm/Sarabande_from_BWV1010,_Musicbox.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "82" ) }
-$HTTP["url"] == "/dump/bgm/School_Days.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "168" ) }
-$HTTP["url"] == "/dump/bgm/Shadow_of_the_Truth.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "130" ) }
-$HTTP["url"] == "/dump/bgm/Standing_Tall.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "177" ) }
-$HTTP["url"] == "/dump/bgm/Stride.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "134" ) }
-$HTTP["url"] == "/dump/bgm/The_Student_Council.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "103" ) }
-$HTTP["url"] == "/dump/bgm/To_Become_One.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "248" ) }
-$HTTP["url"] == "/dump/bgm/Wiosna.ogg" { setenv.add-response-header += ( "X-Content-Duration" => "70" ) }
-# TODO: Add /dump/sfx content duration