added url rewriting rules

This commit is contained in:
Nicolas Constant 2019-11-01 00:14:51 -04:00
parent e137317dc1
commit 99b1ea3a2b
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 2 additions and 0 deletions

View File

@ -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"