From 4e39b3a9fd3b37de6a3523e80496e22b530f97f8 Mon Sep 17 00:00:00 2001 From: Christian Heller <c.heller@plomlompom.de> Date: Thu, 19 Mar 2020 23:29:30 +0100 Subject: [PATCH] Add comment. --- .../etc_files/website/etc/nginx/sites-available/website.nginx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buster/etc_files/website/etc/nginx/sites-available/website.nginx b/buster/etc_files/website/etc/nginx/sites-available/website.nginx index 05c9a4b..41487f9 100644 --- a/buster/etc_files/website/etc/nginx/sites-available/website.nginx +++ b/buster/etc_files/website/etc/nginx/sites-available/website.nginx @@ -10,6 +10,8 @@ server { location ~ /repos/clone(/.*) { include fastcgi_params; fastcgi_param SCRIPT_FILENAME /usr/lib/git-core/git-http-backend; + # Commented out so only repos are served that contain a + # git-daemon-export-ok file. # fastcgi_param GIT_HTTP_EXPORT_ALL ""; fastcgi_param GIT_PROJECT_ROOT /var/repos; fastcgi_param PATH_INFO $1; -- 2.30.2