Last active
December 17, 2015 04:29
-
-
Save stevommmm/5551071 to your computer and use it in GitHub Desktop.
Munin conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Enable this for template generation | |
| Alias /munin /var/www/munin | |
| # Enable this for cgi-based templates | |
| Alias /munin-cgi/static /var/www/munin/static | |
| ScriptAlias /munin-cgi /usr/lib/cgi-bin/munin-cgi-html | |
| #ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/cgi-bin/munin-cgi-graph | |
| ScriptAlias /cgi-bin/munin-cgi-graph /usr/lib/cgi-bin/munin-cgi-graph | |
| #Alias /munin-cgi/static /var/cache/munin/www/static | |
| #ScriptAlias /munin-cgi /usr/lib/cgi-bin/munin-cgi-html | |
| <Directory /var/www/munin> | |
| Order allow,deny | |
| # Allow from localhost 127.0.0.0/8 ::1 | |
| Allow from all | |
| Options None | |
| # This file can be used as a .htaccess file, or a part of your apache | |
| # config file. | |
| # | |
| # For the .htaccess file option to work the munin www directory | |
| # (/var/cache/munin/www) must have "AllowOverride all" or something | |
| # close to that set. | |
| # | |
| # AuthUserFile /etc/munin/munin-htpasswd | |
| # AuthName "Munin" | |
| # AuthType Basic | |
| # require valid-user | |
| # This next part requires mod_expires to be enabled. | |
| # | |
| # Set the default expiration time for files to 5 minutes 10 seconds from | |
| # their creation (modification) time. There are probably new files by | |
| # that time. | |
| # | |
| <IfModule mod_expires.c> | |
| ExpiresActive On | |
| ExpiresDefault M310 | |
| </IfModule> | |
| </Directory> | |
| # Enables fastcgi for munin-cgi-html if present | |
| #<Location /munin-cgi> | |
| # <IfModule mod_fastcgi.c> | |
| # SetHandler fastcgi-script | |
| # </IfModule> | |
| #</Location> | |
| #<Location /munin-cgi/static> | |
| # SetHandler None | |
| #</Location> | |
| # Enables fastcgi for munin-cgi-graph if present | |
| <Location /cgi-bin/munin-cgi-graph> | |
| <IfModule mod_fastcgi.c> | |
| SetHandler fastcgi-script | |
| </IfModule> | |
| </Location> | |
| <Location /cgi-bin/munin-cgi-html> | |
| <IfModule mod_fastcgi.c> | |
| SetHandler fastcgi-script | |
| </IfModule> | |
| </Location> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment