| 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_file -%> |
|
mathias
2018/06/05 15:02:58
Shouldn't this check for undef/nil instead?
f.lopez
2018/06/05 18:00:44
Acknowledged.
|
| + auth_basic "Password protected"; |
| + auth_basic_user_file <%= @auth_filename %>; |
| +<% end -%> |
| + } |