docs: Update lighttpd docs to include svg config

With SVG introduced, the icons for hosts are broken.  The pattern match has been revised to support more image formats, including SVG.  This resolves the icons showing up as broken images when running lighttpd.

* I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md
This commit is contained in:
Avery Payne
2017-03-01 17:13:29 -08:00
committed by Neil Lathwood
parent 87a50465ad
commit fd21bee0e2
2 changed files with 2 additions and 1 deletions

View File

@@ -117,7 +117,7 @@ Next, add the following to `/etc/lighttpd/librenms.conf`
server.document-root = "/opt/librenms/html"
url.rewrite-once = (
"^/(.*)\.(png|css|jpg|gif|php)$" => "/$0",
"^/(.*)\.(gif|jpg|jpeg|tiff|svg|png|css|php)$" => "/$0",
"^/([a-z|0-9\-]+)/(.+)/(.+)/(.+)/(.+)/(.+)/(.+)/(.+)/(.+)/(.+)/(.+)/" => "/?page=$1&$2&$3&$4&$5&$6&$7&$8&$9&$10",
"^/([a-z|0-9\-]+)/(.+)/(.+)/(.+)/(.+)/(.+)/(.+)/(.+)/(.+)/(.+)/" => "/?page=$1&$2&$3&$4&$5&$6&$7&$8&$9",
"^/([a-z|0-9\-]+)/(.+)/(.+)/(.+)/(.+)/(.+)/(.+)/(.+)/(.+)/" => "/?page=$1&$2&$3&$4&$5&$6&$7&$8",