This is an automated email from the ASF dual-hosted git repository. membphis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git
The following commit(s) were added to refs/heads/master by this push: new d4442ff change: disable search engine inclusion. (#1012) d4442ff is described below commit d4442ff6a73cc466c76657e4722c88cb3ca79ca5 Author: YuanSheng Wang <membp...@gmail.com> AuthorDate: Fri Jan 3 10:08:00 2020 +0800 change: disable search engine inclusion. (#1012) --- bin/apisix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/apisix b/bin/apisix index 97f1a22..b9de45b 100755 --- a/bin/apisix +++ b/bin/apisix @@ -247,6 +247,10 @@ http { try_files $uri $uri/index.html /index.html; } + + location /robots.txt { + return 200 'User-agent: *\nDisallow: /'; + } } {% end %}