summaryrefslogtreecommitdiff
path: root/templates/vhosts/partials/authentication.erb
blob: ed832210c1d032f95a7c6a45731fda0b2663f5de (plain)
1
2
3
4
5
6
<% unless @htpasswd_file.to_s == 'absent' -%>
    AuthType Basic
    AuthName "Access fuer <%= @servername %>"
    AuthUserFile <%= @real_htpasswd_path %>
    require valid-user
<% end -%>