munin: fix cgi graph generation #163

Merged
mg merged 47 commits from mchmod into master 2024-08-21 20:54:49 +02:00
Showing only changes of commit c27bc92116 - Show all commits

View file

@ -2,23 +2,20 @@
ServerName {{ munin_servername }}
# Redirect requests without /munin to /munin
RedirectMatch ^/$ /munin-cgi/
RedirectMatch ^/$ /munin/
# Existing configuration for serving /munin
Alias /munin /var/cache/munin/www
<Directory /var/cache/munin/www>
Require all granted
Options None
Require all granted
Options None
</Directory>
ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph
<Location /munin-cgi/munin-cgi-graph>
Require all granted
<IfModule mod_fcgid.c>
SetHandler fcgid-script
</IfModule>
<IfModule !mod_fcgid.c>
SetHandler cgi-script
</IfModule>
Require all granted
<IfModule mod_fcgid.c>
SetHandler fcgid-script
</IfModule>
</Location>
</VirtualHost>