From ac13f0c228fe82b713323fb0b9f035199b8564cc Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 8 Apr 2019 17:14:59 +0100 Subject: Add nagios bits to apache --- etc/apache/httpd.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/etc/apache/httpd.conf b/etc/apache/httpd.conf index 55af91e..578db68 100644 --- a/etc/apache/httpd.conf +++ b/etc/apache/httpd.conf @@ -144,6 +144,17 @@ AddHandler markdown .md ServerName sys.randomdan.homeip.net ProxyPass "/haproxy/" "http://virtualip.random.lan:9000/haproxy/" ProxyPassReverse "/haproxy/" "http://virtualip.random.lan:9000/haproxy/" + ScriptAlias /nagios/cgi-bin /usr/lib64/nagios/cgi-bin/ + + + Require ip 10 + AuthBasicProvider ldapauth + AuthType basic + AuthName "Private network" + Require valid-user + + + Alias /nagios /usr/share/nagios/htdocs ServerName gentoobrowse.randomdan.homeip.net -- cgit v1.2.3