-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add nginx rate limiting #143
Comments
A person in #nginx on freenode suggested also looking into bandwidth rate limiting which can be implemented conditionally, if desired. http://nginx.org/en/docs/http/ngx_http_core_module.html#limit_rate https://www.nginx.com/resources/admin-guide/restricting-access/ I'll test some things out offline then work up a PR. |
I have some working configs that seem plausible. I will work up a PR. |
I have some updated changes to make this an optional feature to enable. Feature would be disabled by default. PR will be updated with changes. |
This was merged in as an opt-in feature for cinch. |
To prevent unintended flooding of requests which can impact a jenkins master, nginx rate limiting can be used.
Random example for the @ jenkins location block of cinch:
roles/jenkins_master/templates/etc/nginx/conf.d/jenkins_https.conf
https://www.nginx.com/blog/rate-limiting-nginx/
The text was updated successfully, but these errors were encountered: