X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9224925dad40dabb3cc09cdaf0c5c30ee3bfc818..6f37be369cacda8b1b3970cdda8fd5ff578be976:/roles/web-frontend.rb diff --git a/roles/web-frontend.rb b/roles/web-frontend.rb index 985811f59..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 }, @@ -37,7 +42,8 @@ default_attributes( :user => "rails", :group => "rails", :home_directory => "/srv/www.openstreetmap.org/rails", - :path => "/bin:/usr/bin:/usr/local/bin" + :path => "/bin:/usr/bin:/usr/local/bin", + :case_sensitive => true } } }