Skip to content

Commit

Permalink
nominatim: clamp down on rate limits
Browse files Browse the repository at this point in the history
  • Loading branch information
lonvia committed Dec 16, 2024
1 parent bed5949 commit feac058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/nominatim/templates/default/nginx.erb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ map $whitelisted$generic_mozilla$uri $limit_reverse {
~02/reverse.* $binary_remote_addr;
}

limit_req_zone $limit_www zone=www:50m rate=2r/s;
limit_req_zone $limit_www zone=www:50m rate=1r/s;
limit_req_zone $limit_tarpit zone=tarpit:10m rate=1r/s;
limit_req_zone $binary_remote_addr zone=blocked:10m rate=20r/m;
limit_req_zone $limit_reverse zone=reverse:10m rate=10r/m;
Expand Down

0 comments on commit feac058

Please sign in to comment.