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