diff options
Diffstat (limited to 'templates/vhosts/partials/authentication.erb')
-rw-r--r-- | templates/vhosts/partials/authentication.erb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/vhosts/partials/authentication.erb b/templates/vhosts/partials/authentication.erb new file mode 100644 index 0000000..bf871e7 --- /dev/null +++ b/templates/vhosts/partials/authentication.erb @@ -0,0 +1,6 @@ + <%- unless htpasswd_file.to_s == 'absent' then -%> + AuthType Basic + AuthName "Access fuer <%= servername %>" + AuthUserFile <%= real_htpasswd_path %> + require valid-user + <%- end -%>
\ No newline at end of file |