From aa7c64e189e42ba2d784c5f860966200f8d8eaf7 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 16 May 2025 05:14:18 +0100 Subject: [PATCH] gitweb: fix robots.txt path --- cookbooks/git/templates/default/apache.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/git/templates/default/apache.erb b/cookbooks/git/templates/default/apache.erb index c7ee8d1d6..0d7f71f4e 100644 --- a/cookbooks/git/templates/default/apache.erb +++ b/cookbooks/git/templates/default/apache.erb @@ -44,7 +44,7 @@ CustomLog /var/log/apache2/<%= @name %>-access.log combined_extended ErrorLog /var/log/apache2/<%= @name %>-error.log - Alias /robots.txt /srv//srv/<%= node[:git][:host] %>/robots.txt + Alias /robots.txt /srv/<%= node[:git][:host] %>/robots.txt # Make absolutely sure it comes out as a plain file -- 2.39.5