From fcdef8275ddeaaf28a3380f025e386a4977ae592 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 1 Jun 2018 11:11:27 +0200 Subject: [PATCH] add template --- .../nagios/templates/icinga-apache2.conf.erb | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 modules/nagios/templates/icinga-apache2.conf.erb diff --git a/modules/nagios/templates/icinga-apache2.conf.erb b/modules/nagios/templates/icinga-apache2.conf.erb new file mode 100644 index 000000000..f322b019f --- /dev/null +++ b/modules/nagios/templates/icinga-apache2.conf.erb @@ -0,0 +1,35 @@ +# apache configuration for icinga + +ScriptAlias /cgi-bin/icinga /usr/lib/cgi-bin/icinga + +# Where the stylesheets (config files) reside +Alias /icinga/stylesheets /etc/icinga/stylesheets + +# Where the HTML pages live +Alias /icinga /usr/share/icinga/htdocs + + + + Options FollowSymLinks + + DirectoryIndex index.html + + AllowOverride AuthConfig + Order Allow,Deny + Allow From All + + AuthName "Nagios Access" + AuthType Basic + AuthBasicProvider file anon + AuthUserFile /srv/nagios.debian.org/htpasswd + + Anonymous_MustGiveEmail off + Anonymous_LogEmail off + Anonymous dsa-guest + + require valid-user + + + + Options FollowSymLinks MultiViews + -- 2.20.1