1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-27 09:25:10 +03:00

Full packaging and playbook setup for munin apache directory and

htpassword configuration
This commit is contained in:
Matthew Jones 2014-07-23 11:42:19 -04:00
parent a1c6af5a08
commit 52e7d34d38
2 changed files with 11 additions and 21 deletions

View File

@ -2,4 +2,10 @@ Alias /munin /var/www/html/munin/
<Directory /var/www/html/munin/>
Order Allow,Deny
Allow from all
AuthUserFile /var/lib/awx/.munin_htpasswd
AuthName "Munin"
AuthType Basic
require valid-user
</Directory>

View File

@ -1,30 +1,14 @@
Alias /munin /var/cache/munin/www
<Directory /var/cache/munin/www>
Order allow,deny
Order Allow,Deny
Allow from all
Options FollowSymLinks
# 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.
#
AuthUserFile /var/lib/awx/.munin_htpasswd
AuthName "Munin"
AuthType Basic
require valid-user
<IfModule mod_expires.c>
ExpiresActive On