summaryrefslogtreecommitdiff
path: root/WebInterface/wasm/asm-paint/lighttpd.config
diff options
context:
space:
mode:
authorDennis Kobert <d-kobert@web.de>2019-05-31 04:18:45 +0200
committerDennis Kobert <d-kobert@web.de>2019-05-31 04:18:45 +0200
commit15ebdb46e906aceef5cea09e2db63650e66369d1 (patch)
tree7fd5a716b10b835ebcc961142130a3bdba6bf2f1 /WebInterface/wasm/asm-paint/lighttpd.config
parent3f539662518609390964c60acf2f38d9a08aee6d (diff)
parenta6d2d62fae44b6d8c96e51055f7222bc679efc48 (diff)
Merge branch 'wasm' of github.com:TrueDoctor/DiscoBot into wasm
Diffstat (limited to 'WebInterface/wasm/asm-paint/lighttpd.config')
-rw-r--r--WebInterface/wasm/asm-paint/lighttpd.config29
1 files changed, 29 insertions, 0 deletions
diff --git a/WebInterface/wasm/asm-paint/lighttpd.config b/WebInterface/wasm/asm-paint/lighttpd.config
new file mode 100644
index 0000000..5fae32d
--- /dev/null
+++ b/WebInterface/wasm/asm-paint/lighttpd.config
@@ -0,0 +1,29 @@
+server.http-parseopts = (
+ "header-strict" => "enable",
+ "host-strict" => "enable",
+ "host-normalize" => "enable",
+ "url-normalize" => "enable",
+ "url-normalize-unreserved" => "enable",
+ "url-normalize-required" => "enable",
+ "url-ctrls-reject" => "enable",
+ "url-path-2f-decode" => "enable",
+ "url-path-dotseg-remove" => "enable",
+ "url-query-20-plus" => "enable"
+)
+
+server.document-root = "/home/jan/projects/DiscoBot/WebInterface/wasm/asm-paint"
+server.port = 8080
+dir-listing.activate = "enable"
+index-file.names = ( "index.html" )
+mimetype.assign = (
+ ".html" => "text/html",
+ ".txt" => "text/plain",
+ ".css" => "text/css",
+ ".js" => "application/x-javascript",
+ ".jpg" => "image/jpeg",
+ ".jpeg" => "image/jpeg",
+ ".gif" => "image/gif",
+ ".png" => "image/png",
+ ".wasm" => "application/wasm",
+ "" => "application/octet-stream"
+)