From: Tom Hughes Date: Tue, 9 Jan 2024 12:26:28 +0000 (+0000) Subject: Add a connection rate limit to the web frontends X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/e66dcd5543527ec3aa86cbf36823e6473f48b2fe Add a connection rate limit to the web frontends --- diff --git a/roles/web-frontend.rb b/roles/web-frontend.rb index 7ef592fcb..2549e98dc 100644 --- a/roles/web-frontend.rb +++ b/roles/web-frontend.rb @@ -24,6 +24,11 @@ default_attributes( :memcached => { :memory_limit => 8192 }, + :networking => { + :firewall => { + :http_rate_limit => "s:5/sec:30" + } + }, :passenger => { :max_pool_size => 50 },