 Issue 29795567:
  #11371 - Password protection for fileserver repositories  (Closed)
    
  
    Issue 29795567:
  #11371 - Password protection for fileserver repositories  (Closed) 
  | Left: | ||
| Right: | 
| LEFT | RIGHT | 
|---|---|
| 1 # Puppet: <%= @title %> | 1 # Puppet: <%= @title %> | 
| 2 | 2 | 
| 3 location / { | 3 location / { | 
| 4 root /var/www/$host; | 4 root /var/www/$host; | 
| 5 <% if !@auth_users.empty? -%> | 5 <% if @auth_file != nil -%> | 
| 6 auth_basic "Password protected"; | 6 auth_basic "Password protected"; | 
| 7 auth_basic_user_file <%= @auth_file%>; | 7 auth_basic_user_file <%= @auth_filename %>; | 
| 8 <% end -%> | 8 <% end -%> | 
| 9 } | 9 } | 
| LEFT | RIGHT |