From bf724e47aaf38021ac9814cc342757e9c99016a3 Mon Sep 17 00:00:00 2001 From: Travis Fields Date: Fri, 26 Sep 2014 16:01:18 -0700 Subject: [PATCH] Update to include auth_required for versions other than 2.4 but keeping at the top of the section --- templates/vhost/_directories.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/vhost/_directories.erb b/templates/vhost/_directories.erb index ef620bbdc..2ef916eca 100644 --- a/templates/vhost/_directories.erb +++ b/templates/vhost/_directories.erb @@ -47,6 +47,9 @@ Require all granted <%- end -%> <%- else -%> + <%- if directory['auth_require'] -%> + Require <%= directory['auth_require'] %> + <%- end -%> <%- if directory['order'] and directory['order'] != '' -%> Order <%= Array(directory['order']).join(',') %> <%- else -%>