Skip to content

Commit

Permalink
do rate limiting exemptions by proxy_protocol_ip (#2581)
Browse files Browse the repository at this point in the history
  • Loading branch information
jschaul authored Jul 26, 2022
1 parent 9dfdd6d commit 0a6f305
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/3-bug-fixes/nginz-rate-limit-exemptions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
charts/nginz: rate limit exemptions should be by comparing with proxy_protocol_addr
2 changes: 1 addition & 1 deletion charts/nginz/templates/conf/_nginx.conf.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ http {
# Rate Limiting Exemptions
#
geo $rate_limit {
geo $proxy_protocol_addr $rate_limit {
default 1;
# IPs to exempt can be added in the .Values.nginx_conf.rate_limit and .Values.nginx_conf.simulators helm values
Expand Down

0 comments on commit 0a6f305

Please sign in to comment.