mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-20 07:43:35 -05:00
Full packaging and playbook setup for munin apache directory and
htpassword configuration
This commit is contained in:
@@ -2,4 +2,10 @@ Alias /munin /var/www/html/munin/
|
|||||||
<Directory /var/www/html/munin/>
|
<Directory /var/www/html/munin/>
|
||||||
Order Allow,Deny
|
Order Allow,Deny
|
||||||
Allow from all
|
Allow from all
|
||||||
|
|
||||||
|
AuthUserFile /var/lib/awx/.munin_htpasswd
|
||||||
|
AuthName "Munin"
|
||||||
|
AuthType Basic
|
||||||
|
require valid-user
|
||||||
|
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|||||||
@@ -1,30 +1,14 @@
|
|||||||
|
|
||||||
Alias /munin /var/cache/munin/www
|
Alias /munin /var/cache/munin/www
|
||||||
<Directory /var/cache/munin/www>
|
<Directory /var/cache/munin/www>
|
||||||
Order allow,deny
|
Order Allow,Deny
|
||||||
Allow from all
|
Allow from all
|
||||||
Options FollowSymLinks
|
Options FollowSymLinks
|
||||||
|
|
||||||
# This file can be used as a .htaccess file, or a part of your apache
|
AuthUserFile /var/lib/awx/.munin_htpasswd
|
||||||
# config file.
|
AuthName "Munin"
|
||||||
#
|
AuthType Basic
|
||||||
# For the .htaccess file option to work the munin www directory
|
require valid-user
|
||||||
# (/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>
|
<IfModule mod_expires.c>
|
||||||
ExpiresActive On
|
ExpiresActive On
|
||||||
|
|||||||
Reference in New Issue
Block a user