Skip to content

Commit bf724e4

Browse files
author
Travis Fields
committed
Update to include auth_required for versions other than 2.4 but keeping at the top of the section
1 parent 808e387 commit bf724e4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

templates/vhost/_directories.erb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
Require all granted
4848
<%- end -%>
4949
<%- else -%>
50+
<%- if directory['auth_require'] -%>
51+
Require <%= directory['auth_require'] %>
52+
<%- end -%>
5053
<%- if directory['order'] and directory['order'] != '' -%>
5154
Order <%= Array(directory['order']).join(',') %>
5255
<%- else -%>

0 commit comments

Comments
 (0)