Skip to content

Commit

Permalink
Merge pull request #708 from joachimjordan/fix_rate_limiting
Browse files Browse the repository at this point in the history
Fix for rate limiting. nginx sublocations do not inherit all paramete…

[#133338405]
  • Loading branch information
Aakash Shah authored Nov 10, 2016
2 parents f2b4118 + 357ca03 commit 3b81e8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bosh/jobs/cloud_controller_ng/templates/nginx.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ http {
<% p("cc.nginx_rate_limit_zones").each do |zone| %>
location <%= zone['location'] %> {
limit_req zone=<%= zone['name'] %> burst=<%= zone['burst'] %> nodelay;
proxy_pass http://cloud_controller;
}
<% end %>
<% end %>
Expand Down

0 comments on commit 3b81e8b

Please sign in to comment.