--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/roles/hgweb/files/robots.txt Sat Jun 09 15:14:44 2018 +0800
+Disallow: /*/comparison/
+# Graph page is a more expensive log
--- a/roles/hgweb/tasks/appinstall.yml Tue Jan 02 19:27:00 2018 +0800
+++ b/roles/hgweb/tasks/appinstall.yml Sat Jun 09 15:14:44 2018 +0800
+ dest: /home/{{ hgweb_user }}/hgwebfiles/robots.txt
- name: Copy requirements.txt
--- a/roles/hgweb/templates/etc/nginx/sites-available/hgweb Tue Jan 02 19:27:00 2018 +0800
+++ b/roles/hgweb/templates/etc/nginx/sites-available/hgweb Sat Jun 09 15:14:44 2018 +0800
+ location = /robots.txt {
+ alias /home/{{ hgweb_user }}/hgwebfiles/robots.txt;
location = /favicon.ico {
return 301 /static/hgicon.png;