diff --git a/http/nginx/nginx_advanced_include.conf b/http/nginx/nginx_advanced_include.conf
index 39168e4f73b11b7fddb51b5495027b68e9fe2e5c..c63982075e9e9b2a831ae39f2d5c90378e1f44cb 100644
--- a/http/nginx/nginx_advanced_include.conf
+++ b/http/nginx/nginx_advanced_include.conf
@@ -69,6 +69,18 @@
         deny all;
     }
 
+    ###
+    ### send search to php-fpm early so searching for node.js will work
+    ### deny bots on search uri without 403 response
+    ###
+    location ~* ^/search {
+      if ( $http_user_agent ~* (?:crawl|goog|yahoo|spider|bot|tracker|click|parser) ) {
+           return 444;
+      }
+      access_log  off;
+      try_files $uri @cache;
+    }
+
     ###
     ### advagg_css and advagg_js support
     ###
diff --git a/http/nginx/nginx_simple_include.conf b/http/nginx/nginx_simple_include.conf
index 306714a60e65dfcbdd92fa2447183d5eff1ad3f0..4a1b842287e3ed5884e465dd952a5b728bd4fcc8 100644
--- a/http/nginx/nginx_simple_include.conf
+++ b/http/nginx/nginx_simple_include.conf
@@ -55,6 +55,18 @@
         deny all;
     }
 
+    ###
+    ### send search to php-fpm early so searching for node.js will work
+    ### deny bots on search uri without 403 response
+    ###
+    location ~* ^/search {
+      if ( $http_user_agent ~* (?:crawl|goog|yahoo|spider|bot|tracker|click|parser) ) {
+           return 444;
+      }
+      access_log  off;
+      try_files $uri @cache;
+    }
+
     ###
     ### advagg_css and advagg_js support
     ###