From 8a7803625d47d375d79beb6968c1905a4f235384 Mon Sep 17 00:00:00 2001 From: Joachim Tingvold Date: Sat, 26 Mar 2016 14:45:02 +0100 Subject: Cleaning. --- .../tg15/etc/apache2/munin.tg15.gathering.org.conf | 120 +++++++++++++++++++++ .../tg15/etc/apache2/stats.tg15.gathering.org.conf | 21 ++++ .../etc/apache2/stream.tg15.gathering.org.conf | 25 +++++ 3 files changed, 166 insertions(+) create mode 100644 examples/tg15/etc/apache2/munin.tg15.gathering.org.conf create mode 100644 examples/tg15/etc/apache2/stats.tg15.gathering.org.conf create mode 100644 examples/tg15/etc/apache2/stream.tg15.gathering.org.conf (limited to 'examples/tg15/etc/apache2') diff --git a/examples/tg15/etc/apache2/munin.tg15.gathering.org.conf b/examples/tg15/etc/apache2/munin.tg15.gathering.org.conf new file mode 100644 index 0000000..aaa3848 --- /dev/null +++ b/examples/tg15/etc/apache2/munin.tg15.gathering.org.conf @@ -0,0 +1,120 @@ + + ServerAdmin drift@gathering.org + ServerName munin.tg15.gathering.org + + # Enable this for template generation + Alias /munin /var/cache/munin/www + + # Enable this for cgi-based templates + #Alias /munin-cgi/static /var/cache/munin/www/static + #ScriptAlias /munin-cgi /usr/lib/munin/cgi/munin-cgi-html + # + # Order allow,deny + # Allow from localhost 127.0.0.0/8 ::1 + # AuthUserFile /etc/munin/munin-htpasswd + # AuthName "Munin" + # AuthType Basic + # require valid-user + # + + DocumentRoot /var/cache/munin/www + + AllowOverride None + Order allow,deny + Allow from all + Options Indexes + #Require all granted + + # 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. + # + + SetEnvIF ^X-Forwarded-For$ "^185\.12\.59\.12$" AllowIP + SetEnvIF ^X-Forwarded-For$ "^2a02:ed02:1337::12$" AllowIP + + + AuthUserFile /root/tgmanage/web/.htpasswd + AuthName "Tech:Server Secret Volcano Lair" + AuthType Basic + Require valid-user + + Require env AllowIP + + + + ExpiresActive On + ExpiresDefault M310 + + + + + # Enables fastcgi for munin-cgi-html if present + # + # + # SetHandler fastcgi-script + # + # + + # + # SetHandler None + # + + # Enables fastcgi for munin-cgi-graph if present + ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph + + Order allow,deny + Allow from localhost 127.0.0.0/8 ::1 + # AuthUserFile /etc/munin/munin-htpasswd + # AuthName "Munin" + # AuthType Basic + # require valid-user + + SetHandler fcgid-script + + + SetHandler cgi-script + + + + ScriptAlias /munin-cgi/munin-cgi-html /usr/lib/munin/cgi/munin-cgi-html + + Order allow,deny + Allow from localhost 127.0.0.0/8 ::1 + # AuthUserFile /etc/munin/munin-htpasswd + # AuthName "Munin" + # AuthType Basic + # require valid-user + + SetHandler fcgid-script + + + SetHandler cgi-script + + + + ErrorLog /var/log/apache2/error-munin.tg15.gathering.org.log + + # Possible values include: debug, info, notice, warn, error, crit, + # alert, emerg. + LogLevel debug + + CustomLog /var/log/apache2/access-munin.tg15.gathering.org.log combined + ServerSignature On + diff --git a/examples/tg15/etc/apache2/stats.tg15.gathering.org.conf b/examples/tg15/etc/apache2/stats.tg15.gathering.org.conf new file mode 100644 index 0000000..2dc99a4 --- /dev/null +++ b/examples/tg15/etc/apache2/stats.tg15.gathering.org.conf @@ -0,0 +1,21 @@ + + ServerAdmin drift@gathering.org + ServerName stats.tg15.gathering.org + + DocumentRoot /root/tgmanage/web/stats.gathering.org + + AllowOverride None + Options Indexes FollowSymLinks ExecCGI MultiViews + + Require all granted + + + ErrorLog /var/log/apache2/error-stats.tg15.gathering.org.log + + # Possible values include: debug, info, notice, warn, error, crit, + # alert, emerg. + LogLevel warn + + CustomLog /var/log/apache2/access-stats.tg15.gathering.org.log combined + ServerSignature On + diff --git a/examples/tg15/etc/apache2/stream.tg15.gathering.org.conf b/examples/tg15/etc/apache2/stream.tg15.gathering.org.conf new file mode 100644 index 0000000..1f92f47 --- /dev/null +++ b/examples/tg15/etc/apache2/stream.tg15.gathering.org.conf @@ -0,0 +1,25 @@ + + ServerAdmin drift@gathering.org + ServerName stream.tg15.gathering.org + ServerAlias krosus.tg15.gathering.org + + DocumentRoot /root/tgmanage/web/stream.gathering.org + + AllowOverride None + Options Indexes FollowSymLinks ExecCGI MultiViews + Order allow,deny + Allow from all + Require all granted + AddHandler cgi-script .cgi .sh .pl .py + AddDefaultCharset UTF-8 + + + ErrorLog /var/log/apache2/error-stream.tg15.gathering.org.log + + # Possible values include: debug, info, notice, warn, error, crit, + # alert, emerg. + LogLevel info + + CustomLog /var/log/apache2/access-stream.tg15.gathering.org.log combined + ServerSignature On + -- cgit v1.2.3