Skip to content

Commit

Permalink
Remove non-matching robots
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Kelty committed Jul 29, 2021
1 parent 550d2d7 commit 9e10912
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .docker/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ server {

add_header X-Robots-Tag "noindex, nofollow";

location /robots.txt {
access_log off;
add_header Content-Type text/plain;
return 200 "User-agent: */\nDisallow: /\n";
}

# security
include craftcms/security.conf;

Expand Down
2 changes: 2 additions & 0 deletions web/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow: /

0 comments on commit 9e10912

Please sign in to comment.