Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for rate limiting. nginx sublocations do not inherit all paramete… #708

Merged
merged 1 commit into from
Nov 10, 2016

Conversation

suhlig
Copy link
Contributor

@suhlig suhlig commented Oct 28, 2016

  • A short explanation of the proposed change:

    See pull request Introduce nginx configuration for rate limiting #657. @joachimjordan worked on this together with me and @petergtz. We noticed that when rate limiting is activated, this breaks the nginx config. Reason is that nginx does not document for each parameter if it is inherited by sub locations. The proxy_pass parameter is not inherited and thus must be duplicated for sublocations.

  • An explanation of the use cases your change solves

    This fix adds the duplication for the proxy_pass parameter to the sublocations. Do you also require a test to ensure that this is working correctly? To test this, a CF installation is necessary with properties for the rate limiting added to the deployment manifest.

  • I have viewed signed and have submitted the Contributor License Agreement

  • I have made this pull request to the master branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests on bosh lite

…rs from upper level. Therefore, duplicating the one parameter not inherited
@cfdreddbot
Copy link

Hey suhlig!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/133338405

The labels on this github issue will be updated when the story is started.

@aashah aashah merged commit 3b81e8b into cloudfoundry:master Nov 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants