Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #36 from afklm/no-auth
Browse files Browse the repository at this point in the history
Add unset of basic auth header in web app config
  • Loading branch information
bflad committed Oct 6, 2014
2 parents ef00f32 + d8614e9 commit b74d872
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion templates/default/web_app.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
ErrorLog <%= node['stash']['apache2']['error_log'].empty? ? node['apache']['log_dir']+"/stash-error.log" : node['stash']['apache2']['error_log'] %>
LogLevel warn

# Make sure we disable/prevent basic authentication attempts since Stash 2.1+ can't handle them
RequestHeader unset Authorization

<Proxy *>
Order Deny,Allow
Allow from all
Expand All @@ -42,7 +45,10 @@
ErrorLog <%= node['stash']['apache2']['ssl']['error_log'].empty? ? node['apache']['log_dir']+"/stash-ssl-error.log" : node['stash']['apache2']['ssl']['error_log'] %>
LogLevel warn

<Proxy *>
# Make sure we disable/prevent basic authentication attempts since Stash 2.1+ can't handle them
RequestHeader unset Authorization

<Proxy *>
Order Deny,Allow
Allow from all
</Proxy>
Expand Down

0 comments on commit b74d872

Please sign in to comment.