This repository was archived by the owner on Jan 10, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 66include_recipe 'apache2::mod_proxy_http'
77include_recipe 'apache2::mod_ssl'
88
9+ # Disable mod_auth_basic because it isn't supported in Stash 2.10 and later
10+ apache_module "auth_basic" do
11+ enable false
12+ end
13+
914web_app node [ 'stash' ] [ 'apache2' ] [ 'virtual_host_name' ]
Original file line number Diff line number Diff line change 1313 <% end -%>
1414 <% end -%>
1515 DocumentRoot <%= node [ 'stash' ] [ 'install_path' ] %>
16-
16+
1717 CustomLog <%= node [ 'stash' ] [ 'apache2' ] [ 'access_log' ] . empty? ? node [ 'apache' ] [ 'log_dir' ] +"/stash-access.log" : node [ 'stash' ] [ 'apache2' ] [ 'access_log' ] %> combined
1818 ErrorLog <%= node [ 'stash' ] [ 'apache2' ] [ 'error_log' ] . empty? ? node [ 'apache' ] [ 'log_dir' ] +"/stash-error.log" : node [ 'stash' ] [ 'apache2' ] [ 'error_log' ] %>
1919 LogLevel warn
2020
21- # Make sure we disable/prevent basic authentication attempts since Stash 2.1+ can't handle them
22- RequestHeader unset Authorization
23-
2421 < Proxy * >
2522 <% if node [ 'apache' ] && node [ 'apache' ] [ 'version' ] == '2.4' %>
2623 Require all granted
4946 ErrorLog <%= node [ 'stash' ] [ 'apache2' ] [ 'ssl' ] [ 'error_log' ] . empty? ? node [ 'apache' ] [ 'log_dir' ] +"/stash-ssl-error.log" : node [ 'stash' ] [ 'apache2' ] [ 'ssl' ] [ 'error_log' ] %>
5047 LogLevel warn
5148
52- # Make sure we disable/prevent basic authentication attempts since Stash 2.1+ can't handle them
53- RequestHeader unset Authorization
54-
5549 < Proxy * >
5650 <% if node [ 'apache' ] && node [ 'apache' ] [ 'version' ] == '2.4' %>
5751 Require all granted
You can’t perform that action at this time.
0 commit comments