diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-07-09 15:41:32 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-07-09 15:41:32 +0300 |
commit | 4d8f931c98bb0a3c278ff80a4391426b0a877daf (patch) | |
tree | c36ff489a56ebf927be494d82e605b3378595b4f /roles/gitano_server/templates | |
parent | 03bd5be6de02ffebe13d85083b5998d9c5a347f7 (diff) | |
download | debian-ansible-4d8f931c98bb0a3c278ff80a4391426b0a877daf.tar.gz |
Add: robots.txt for cgit to exclude everyone
Diffstat (limited to 'roles/gitano_server/templates')
-rw-r--r-- | roles/gitano_server/templates/apache-cgit-host.j2 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/gitano_server/templates/apache-cgit-host.j2 b/roles/gitano_server/templates/apache-cgit-host.j2 index 2f9eeb0..522c3c9 100644 --- a/roles/gitano_server/templates/apache-cgit-host.j2 +++ b/roles/gitano_server/templates/apache-cgit-host.j2 @@ -18,6 +18,7 @@ DirectoryIndex /cgi-bin/cgit.cgi Alias /cgit.png /usr/share/cgit/cgit.png Alias /cgit.css /usr/share/cgit/cgit.css + Alias /robots.txt /usr/share/cgit/robots.txt <Directory "/home/git/repos"> Options FollowSymlinks Indexes AllowOverride none |