diff --git a/.docker/default.conf b/.docker/default.conf index 227c1466..41e94a0c 100644 --- a/.docker/default.conf +++ b/.docker/default.conf @@ -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; diff --git a/web/robots.txt b/web/robots.txt new file mode 100644 index 00000000..1f53798b --- /dev/null +++ b/web/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /