summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/vhosts/partials/authentication.erb9
-rw-r--r--templates/vhosts/partials/logs.erb1
2 files changed, 6 insertions, 4 deletions
diff --git a/templates/vhosts/partials/authentication.erb b/templates/vhosts/partials/authentication.erb
index 76f7870..b81f543 100644
--- a/templates/vhosts/partials/authentication.erb
+++ b/templates/vhosts/partials/authentication.erb
@@ -1,6 +1,7 @@
<% unless htpasswd_file.to_s == 'absent' -%>
- AuthType Basic
- AuthName "Access fuer <%= servername %>"
- AuthUserFile <%= real_htpasswd_path %>
- require valid-user
+ AuthType Basic
+ AuthName "Access fuer <%= servername %>"
+ AuthUserFile <%= real_htpasswd_path %>
+ require valid-user
<% end -%>
+
diff --git a/templates/vhosts/partials/logs.erb b/templates/vhosts/partials/logs.erb
index 711c382..98c834d 100644
--- a/templates/vhosts/partials/logs.erb
+++ b/templates/vhosts/partials/logs.erb
@@ -15,3 +15,4 @@
ErrorLog <%= logdir %>/<%= logprefix %>error_log
CustomLog <%= logdir %>/<%= logprefix %>access_log combined
<% end -%>
+