diff options
author | Dan Fandrich <danf@mageia.org> | 2024-08-31 11:27:34 -0700 |
---|---|---|
committer | Dan Fandrich <danf@mageia.org> | 2024-08-31 11:28:00 -0700 |
commit | 9a7f91fbcdccf087b96a304ce53fecb9a8fd5933 (patch) | |
tree | 42a5f6914a9d4ad8b2379e4ffe662d6d4d25ebb0 | |
parent | 823bb40f34ce108acd394aa34d8906bfedc70bab (diff) | |
download | puppet-9a7f91fbcdccf087b96a304ce53fecb9a8fd5933.tar puppet-9a7f91fbcdccf087b96a304ce53fecb9a8fd5933.tar.gz puppet-9a7f91fbcdccf087b96a304ce53fecb9a8fd5933.tar.bz2 puppet-9a7f91fbcdccf087b96a304ce53fecb9a8fd5933.tar.xz puppet-9a7f91fbcdccf087b96a304ce53fecb9a8fd5933.zip |
Enable robots.txt on gitweb
There is a standard one that comes with cgit to disable snapshots by
robots, but it needed an alias so the web server would serve it.
-rw-r--r-- | modules/cgit/templates/vhost.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/cgit/templates/vhost.conf b/modules/cgit/templates/vhost.conf index d2385084..5c1d99e7 100644 --- a/modules/cgit/templates/vhost.conf +++ b/modules/cgit/templates/vhost.conf @@ -1,4 +1,5 @@ Alias /cgit-data /usr/share/cgit +Alias /robots.txt /usr/share/cgit/robots.txt ScriptAliasMatch ^(.*) /var/www/cgi-bin/cgit$1 <Directory /usr/share/cgit> |