homeserver/roles/mgrote_munin_server/templates/apache.conf

20 lines
475 B
ApacheConf
Raw Normal View History

<VirtualHost *:80>
ServerName {{ munin_servername }}
# Redirect requests without /munin to /munin
2024-08-21 20:22:14 +02:00
RedirectMatch ^/$ /munin/
# Existing configuration for serving /munin
2024-08-21 20:22:52 +02:00
<Directory /etc/munin/static>
2024-08-21 20:22:14 +02:00
Require all granted
Options None
2024-08-21 19:57:53 +02:00
</Directory>
<Location /munin-cgi/munin-cgi-graph>
2024-08-21 20:22:14 +02:00
Require all granted
<IfModule mod_fcgid.c>
SetHandler fcgid-script
</IfModule>
</Location>
</VirtualHost>