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