File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 139
139
{
140
140
'enforce' => 'any' ,
141
141
'requires' => [ 'any-valid1' , 'any-valid2' ]
142
- }
142
+ } ,
143
+ 'enable_sendfile' => 'On' ,
143
144
} ,
144
145
{
145
146
'path' => '*' ,
661
662
. with_content ( %r{^\s +</RequireAny>$} )
662
663
. with_content ( %r{^\s +Require any-valid1$} )
663
664
. with_content ( %r{^\s +Require any-valid2$} )
665
+ . with_content ( %r{^\s +EnableSendfile On$} )
664
666
. with_content ( %r{^\s +LDAPReferrals off$} )
665
667
. with_content ( %r{^\s +ProxyPass http://backend-b/ retry=0 timeout=5 noquery interpolate$} )
666
668
. with_content ( %r{^\s +ProxyPassMatch http://backend-b/ retry=0 timeout=5 noquery interpolate$} )
Original file line number Diff line number Diff line change 19
19
<%- path = directory['path'] -%>
20
20
21
21
<<%= provider %> "<%= path %> ">
22
- <%- if directory [ 'headers' ] -%>
23
- <%- Array ( directory [ 'headers' ] ) . each do |header | -%>
22
+ <%- if directory [ 'enable_sendfile' ] -%>
23
+ EnableSendfile <%= directory [ 'enable_sendfile' ] %>
24
+ <%- end -%>
25
+ <%- if directory [ 'headers' ] -%>
26
+ <%- Array ( directory [ 'headers' ] ) . each do |header | -%>
24
27
Header <%= header %>
25
28
<%- end -%>
26
29
<%- end -%>
You can’t perform that action at this time.
0 commit comments