homeserver/roles/mgrote_munin_server/templates/apache.conf

25 lines
645 B
ApacheConf
Raw Normal View History

<VirtualHost *:80>
ServerName {{ munin_servername }}
2024-08-21 20:24:15 +02:00
ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph
ScriptAlias /munin-cgi/munin-cgi-html /usr/lib/munin/cgi/munin-cgi-html
2024-08-21 20:22:52 +02:00
<Directory /etc/munin/static>
2024-08-21 20:22:14 +02:00
Require all granted
2024-08-21 19:57:53 +02:00
</Directory>
2024-08-21 20:25:22 +02:00
<Directory /var/cache/munin/www/>
Require all granted
</Directory>
2024-08-21 20:24:15 +02:00
<Directory /usr/lib/munin/cgi>
2024-08-21 20:22:14 +02:00
Require all granted
<IfModule mod_fcgid.c>
SetHandler fcgid-script
</IfModule>
2024-08-21 20:24:15 +02:00
<IfModule !mod_fcgid.c>
SetHandler cgi-script
</IfModule>
</Directory>
</VirtualHost>