| Index: modules/adblockplus/templates/web/fileserver.conf.erb |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/modules/adblockplus/templates/web/fileserver.conf.erb |
| @@ -0,0 +1,9 @@ |
| +# Puppet: <%= @title %> |
| + |
| +location / { |
| + root /var/www/$host; |
| +<% if !@auth_users.empty? -%> |
| + auth_basic "Password protected"; |
| + auth_basic_user_file <%= @auth_file%>; |
| +<% end -%> |
| + } |