guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: nginx: hydra.gnu.org: Block Bing.


From: Mark H. Weaver
Subject: 01/03: nginx: hydra.gnu.org: Block Bing.
Date: Thu, 1 Sep 2016 09:11:47 +0000 (UTC)

mhw pushed a commit to branch master
in repository maintenance.

commit ac382667fcbef0bef86e64f81575ddb1c16777da
Author: Mark H Weaver <address@hidden>
Date:   Thu Sep 1 05:05:28 2016 -0400

    nginx: hydra.gnu.org: Block Bing.
---
 hydra/nginx/hydra.gnu.org.conf |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hydra/nginx/hydra.gnu.org.conf b/hydra/nginx/hydra.gnu.org.conf
index baf2943..3cd31d6 100644
--- a/hydra/nginx/hydra.gnu.org.conf
+++ b/hydra/nginx/hydra.gnu.org.conf
@@ -83,10 +83,10 @@ http {
        proxy_set_header X-Forwarded-Port $server_port;
        proxy_set_header X-Forwarded-For  $proxy_add_x_forwarded_for;
 
-       # XXX Block AhrefsBot and Baiduspider for now
+       # XXX Block AhrefsBot, Baiduspider, and Bing for now
        # TODO: Remove later in the hopes that they'll fetch
        # our improved /robots.txt before continuing.
-       if ($http_user_agent ~ "AhrefsBot|Baiduspider") {
+       if ($http_user_agent ~ "AhrefsBot|Baiduspider|bingbot") {
           return 403;
           break;
        }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]