copr: disallow robots on dev instance
This commit is contained in:
parent
379afc6db5
commit
b3b9c1fd48
3 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
2
roles/copr/frontend/files/robots.txt
Normal file
2
roles/copr/frontend/files/robots.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
User-agent: *
|
||||
Disallow: /
|
|
@ -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/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue