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

Add support for limit_req_zone in main nginx config and limit_req: Fixes #1134 #1357

Merged
merged 5 commits into from
Nov 18, 2019

Commits on Nov 13, 2019

  1. Fixes voxpupuli#1134

    Add support for `limit_req_zone` in main nginx config and `limit_req`
    for `nginx::resource::location`.
    
    In init.pp
    `limit_req_zone` can be a String, or an array of String
    
    In resource/location.pp
    `limit_zone` can be a String and should point to a zone defined from
    `limit_req_zone` in init.pp
    Dan Farnsworth committed Nov 13, 2019
    Configuration menu
    Copy the full SHA
    32da655 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2019

  1. Prohibit an empty string for $limit_req_zone

    Co-Authored-By: Tim Meusel <tim@bastelfreak.de>
    absltkaos and bastelfreak committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    51d7923 View commit details
    Browse the repository at this point in the history
  2. Prohibit an empty string for $limit_zone

    Co-Authored-By: Tim Meusel <tim@bastelfreak.de>
    absltkaos and bastelfreak committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    3c43c8c View commit details
    Browse the repository at this point in the history
  3. Cleanup indenting in template for limit_req_zone

    Dan Farnsworth committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    8b6fe2d View commit details
    Browse the repository at this point in the history
  4. Add some unit tests

    Dan Farnsworth committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    a4e5c1e View commit details
    Browse the repository at this point in the history