1.1 --- a/etc/apache2/git.conf Wed Apr 24 17:29:04 2019 +0200
1.2 +++ b/etc/apache2/git.conf Sun Apr 28 16:03:30 2019 +0200
1.3 @@ -5,6 +5,7 @@
1.4 ServerAdmin webmaster@localhost
1.5 DocumentRoot /var/www/html
1.6
1.7 + Alias /robots.txt /var/www/html/robots.txt
1.8 Alias /cgit-css "/usr/share/cgit/"
1.9 ScriptAlias / "/usr/lib/cgit/cgit.cgi/"
1.10 <Directory "/usr/share/cgit/">
2.1 --- a/etc/apache2/hg.conf Wed Apr 24 17:29:04 2019 +0200
2.2 +++ b/etc/apache2/hg.conf Sun Apr 28 16:03:30 2019 +0200
2.3 @@ -5,6 +5,9 @@
2.4 ServerAdmin webmaster@localhost
2.5 DocumentRoot /var/www/html
2.6
2.7 + Alias /robots.txt /var/www/html/robots.txt
2.8 + ProxyPassMatch ^/robots.txt !
2.9 +
2.10 ProxyPass "/" "http://localhost:16169/"
2.11 ProxyPassReverse "/" "http://localhost:16169/"
2.12