salt-formulas / salt-formula-haproxy

Other
7 stars 20 forks source link

Implement rate limiting #43

Closed mnederlof closed 6 years ago

mnederlof commented 6 years ago

Rate limiting is implemented by responding with HTTP 429.

Feature probably does not work within listen section, so currently only implemented in frontend/backend scenario. Also updated the template for *-end sections, so options are properly handled, by using a blacklist for options.

Tests and readme is updated to highlight required configuration options.

mnederlof commented 6 years ago

I chose a blacklist, so new options are still usable, when using a newer version than 1.6 (which is what i based the blacklist on)

fpytloun commented 6 years ago

Thank you