summaryrefslogtreecommitdiff
path: root/templates/vhosts/partials/authentication.erb
blob: bf43a587fa9f7ac4a773807e23e33a250df27703 (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 -%>