Add robots.txt for Pagure

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-05-16 19:07:12 +00:00
parent 893bc4a241
commit 0fed6af768
3 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,5 @@
User-agent: *
Disallow: /api
Disallow: /login
Disallow: /*/raw
Crawl-Delay: 2

View file

@ -30,6 +30,11 @@
tags:
- pagure
- name: Put in robots.txt
copy: src=robots.txt dest=/var/www/html/robots.txt
tags:
- pagure
# Set-up gitolite

View file

@ -59,6 +59,8 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na
ServerName pagure.io
{% endif %}
Alias "/robots.txt" "/var/www/html/robots.txt"
WSGIScriptAlias / /var/www/pagure.wsgi
ServerAdmin admin@fedoraproject.org