X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/0e74e2f70ceb291199499bcd7aa1828e1908fa65..5fb76dc7c3c0de9177b690895aed29d479aa144a:/cookbooks/networking/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index dccba7c7a..799871963 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -458,18 +458,8 @@ firewall_rule "accept-http" do action :accept source "net" dest "fw" - proto "tcp:syn" - dest_ports "http" - rate_limit node[:networking][:firewall][:http_rate_limit] - connection_limit node[:networking][:firewall][:http_connection_limit] -end - -firewall_rule "accept-https" do - action :accept - source "net" - dest "fw" - proto "tcp:syn" - dest_ports "https" + proto "tcp" + dest_ports %w[http https] rate_limit node[:networking][:firewall][:http_rate_limit] connection_limit node[:networking][:firewall][:http_connection_limit] end