munin: from container to vm #155

Merged
mg merged 91 commits from muninvm into master 2024-08-12 23:46:09 +02:00
Showing only changes of commit d709523ac8 - Show all commits

View file

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