From e66dcd5543527ec3aa86cbf36823e6473f48b2fe Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 9 Jan 2024 12:26:28 +0000 Subject: [PATCH] Add a connection rate limit to the web frontends --- roles/web-frontend.rb | 5 +++++ 1 file changed, 5 insertions(+) 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 }, -- 2.39.5