Skip to content

Instantly share code, notes, and snippets.

@wens
Last active August 29, 2015 14:03
Show Gist options
  • Save wens/bd496d9fee996688b8e0 to your computer and use it in GitHub Desktop.
Save wens/bd496d9fee996688b8e0 to your computer and use it in GitHub Desktop.
Munin FastCGI config
url.rewrite-once += (
"^/munin/(.*)" => "/munin-cgi/munin-cgi-html/$1"
)
alias.url += ( "/munin-cgi/munin-cgi-html/static/" => "/etc/munin/static/" )
expire.url += ( "/munin-cgi/munin-cgi-html/static/" => "modification plus 310 seconds" )
fastcgi.server += (
"/munin-cgi/munin-cgi-graph" =>
( "munin-cgi-graph" => (
"bin-path" => "/usr/lib/munin/cgi/munin-cgi-graph",
"socket" => "/tmp/munin-cgi-graph.sock",
"bin-copy-environment" => ("PATH", "SHELL", "USER"),
"check-local" => "disable",
"broken-scriptfilename" => "enable",
)),
"/munin-cgi/munin-cgi-html" =>
( "munin-cgi-html" => (
"bin-path" => "/usr/lib/munin/cgi/munin-cgi-html",
"socket" => "/tmp/munin-cgi-html.sock",
"bin-copy-environment" => ("PATH", "SHELL", "USER"),
"check-local" => "disable",
"broken-scriptfilename" => "enable",
))
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment