projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cb0dff
)
nominatim: apply rate limit
author
Sarah Hoffmann
<lonvia@denofr.de>
Tue, 19 Dec 2017 21:27:52 +0000
(22:27 +0100)
committer
Sarah Hoffmann
<lonvia@denofr.de>
Tue, 19 Dec 2017 21:27:52 +0000
(22:27 +0100)
roles/nominatim.rb
patch
|
blob
|
history
diff --git
a/roles/nominatim.rb
b/roles/nominatim.rb
index bcfb5434addcfbd5dc2f79d2e2322269030332b3..74cc74ba7acff24c7fc0c81c421fa8e9a5a7e480 100644
(file)
--- a/
roles/nominatim.rb
+++ b/
roles/nominatim.rb
@@
-26,6
+26,11
@@
default_attributes(
:apt => {
:sources => ["postgresql"]
},
+ :networking => {
+ :firewall => {
+ :http_rate_limit => "s:7/sec:15"
+ }
+ },
:postgresql => {
:settings => {
:defaults => {