Attempt to make crawlers stop scanning stg.fp.o (infra #7514)

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod 2019-01-28 22:43:00 +00:00
parent 4c8cf933fc
commit 77644a5183
10 changed files with 6 additions and 3 deletions

View file

@ -1,2 +0,0 @@
User-agent: *
Disallow: /wikiold

View file

@ -57,7 +57,7 @@
- httpd/website
- name: And lastly, the robots.txt file
copy: >
template: >
src={{item}}
dest=/srv/web/robots.txt.{{site_name}}
mode=0644

View file

@ -0,0 +1,5 @@
User-agent: *
{% if env == "staging" %}
Disallow: /
{% endif %}
Disallow: /wikiold