From 99b1ea3a2b65a15d73f6589cecedd18a87e5ef2c Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Fri, 1 Nov 2019 00:14:51 -0400 Subject: [PATCH] added url rewriting rules --- lighttpd.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lighttpd.conf b/lighttpd.conf index 3b0cac23..420fabfa 100644 --- a/lighttpd.conf +++ b/lighttpd.conf @@ -10,3 +10,5 @@ server.modules = ( include "mime-types.conf" server.pid-file = "/run/lighttpd.pid" index-file.names = ( "index.html", "index.htm" ) +url.rewrite-once = ( "^/(.*)" => "/index.html" ) +server.error-handler-404 = "/index.html" \ No newline at end of file