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

Add unset of basic auth header in web app config #36

Merged
merged 1 commit into from
Oct 6, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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