copr: disallow robots on dev instance

This commit is contained in:
Miroslav Suchý 2016-01-29 11:16:38 +01:00
parent 379afc6db5
commit b3b9c1fd48
3 changed files with 6 additions and 0 deletions

View file

@ -1,6 +1,7 @@
NameVirtualHost *:80
LoadModule wsgi_module modules/mod_wsgi.so
WSGISocketPrefix /var/run/wsgi
Alias /robots.txt /var/www/html/robots.txt
<VirtualHost *:80>
ServerName copr.fedorainfracloud.org

View file

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

View file

@ -98,3 +98,6 @@
when: devel
copy: src=banner-include.html dest=/var/lib/copr/
- name: disallow robots on dev instance
when: devel
copy: src=robots.txt dest=/var/www/html/