]> git.openstreetmap.org Git - chef.git/commitdiff
nominatim: apply rate limit
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 19 Dec 2017 21:27:52 +0000 (22:27 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 19 Dec 2017 21:27:52 +0000 (22:27 +0100)
roles/nominatim.rb

index bcfb5434addcfbd5dc2f79d2e2322269030332b3..74cc74ba7acff24c7fc0c81c421fa8e9a5a7e480 100644 (file)
@@ -26,6 +26,11 @@ default_attributes(
   :apt => {
     :sources => ["postgresql"]
   },
+  :networking => {
+    :firewall => {
+      :http_rate_limit => "s:7/sec:15"
+    }
+  },
   :postgresql => {
     :settings => {
       :defaults => {