Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/adblockplus/templates/web/fileserver.conf.erb

Issue 29795567: #11371 - Password protection for fileserver repositories (Closed)
Patch Set: Didnt remove unnecessary file Created May 31, 2018, 4:20 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « modules/adblockplus/manifests/web/fileserver/repository.pp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 -%>
+ }
« no previous file with comments | « modules/adblockplus/manifests/web/fileserver/repository.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld