From: Christian Heller Date: Thu, 19 Mar 2020 22:29:30 +0000 (+0100) Subject: Add comment. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/ledger?a=commitdiff_plain;h=4e39b3a9fd3b37de6a3523e80496e22b530f97f8;p=config Add comment. --- 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;