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