mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
committed by
Neil Lathwood
parent
87a50465ad
commit
fd21bee0e2
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user