Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
update lb filters
Browse files Browse the repository at this point in the history
  • Loading branch information
dwradcliffe committed Aug 8, 2014
1 parent ec996b0 commit 922a291
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Expand Up @@ -216,7 +216,7 @@ GRAPH
rubygems-backups (0.0.17)
chef-vault (>= 0.0.0)
rubygems-ruby (>= 0.0.0)
rubygems-balancer (0.0.25)
rubygems-balancer (0.0.26)
chef-vault (>= 0.0.0)
nginx (>= 0.0.0)
rubygems (>= 0.0.0)
Expand Down
3 changes: 1 addition & 2 deletions cookbooks/rubygems-balancer/files/default/filters.conf
@@ -1,5 +1,4 @@
location /com/ { return 404; }
location /org/ { return 404; }
location /.meta/ { return 404; }
location ~ \.jar$ { return 404; }
if ($http_user_agent ~* Artifactory) { return 404; }
location ~ \.(jar|xml|pom)$ { return 404; }
2 changes: 1 addition & 1 deletion cookbooks/rubygems-balancer/metadata.rb
@@ -1,6 +1,6 @@
name 'rubygems-balancer'

version '0.0.25'
version '0.0.26'

depends 'chef-vault'
depends 'nginx'
Expand Down

0 comments on commit 922a291

Please sign in to comment.