]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/nginx.erb
nominatim: add hook for more generic blocks
[chef.git] / cookbooks / nominatim / templates / default / nginx.erb
index 2c22ae850d9743e8f1963611be81c9615eff474e..d56d99c8a13b52fdae1fadfb8542fe34ed80da4a 100644 (file)
@@ -162,6 +162,7 @@ server {
         { return 403; }
         if ($blocked_email)
         { return 403; }
+        include <%= @confdir %>/nginx_blocked_generic.conf;
 
         limit_req zone=www burst=10;
         limit_req zone=tarpit burst=2;
@@ -183,6 +184,7 @@ server {
         { return 403; }
         if ($blocked_email)
         { return 403; }
+        include <%= @confdir %>/nginx_blocked_generic.conf;
 
         limit_req zone=www burst=10;
         limit_req zone=tarpit burst=2;