diff options
author | natrixaeria <janng@gmx.de> | 2019-05-25 22:44:04 +0200 |
---|---|---|
committer | natrixaeria <janng@gmx.de> | 2019-05-25 22:44:04 +0200 |
commit | d727f6e769ae6f3210a57f32f6c198469efaa9b8 (patch) | |
tree | 1bbac52753a1efbcd49f8a59133b50f10706d911 /WebInterface/wasm/asm-paint/lighttpd.config | |
parent | 04792563e216f57984219e582de491947e2d7f40 (diff) |
Run with lighttpd and remove deploy.py
Diffstat (limited to 'WebInterface/wasm/asm-paint/lighttpd.config')
-rw-r--r-- | WebInterface/wasm/asm-paint/lighttpd.config | 29 |
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" +) |