File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 139139 {
140140 'enforce' => 'any' ,
141141 'requires' => [ 'any-valid1' , 'any-valid2' ]
142- }
142+ } ,
143+ 'enable_sendfile' => 'On' ,
143144 } ,
144145 {
145146 'path' => '*' ,
661662 . with_content ( %r{^\s +</RequireAny>$} )
662663 . with_content ( %r{^\s +Require any-valid1$} )
663664 . with_content ( %r{^\s +Require any-valid2$} )
665+ . with_content ( %r{^\s +EnableSendfile On$} )
664666 . with_content ( %r{^\s +LDAPReferrals off$} )
665667 . with_content ( %r{^\s +ProxyPass http://backend-b/ retry=0 timeout=5 noquery interpolate$} )
666668 . with_content ( %r{^\s +ProxyPassMatch http://backend-b/ retry=0 timeout=5 noquery interpolate$} )
Original file line number Diff line number Diff line change 1919 <%- path = directory['path'] -%>
2020
2121 <<%= 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 | -%>
2427 Header <%= header %>
2528 <%- end -%>
2629 <%- end -%>
You can’t perform that action at this time.
0 commit comments