aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--git.sr.ht/installation.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/git.sr.ht/installation.md b/git.sr.ht/installation.md
index fe524b6..d306038 100644
--- a/git.sr.ht/installation.md
+++ b/git.sr.ht/installation.md
@@ -66,7 +66,7 @@ location = /authorize {
proxy_set_header X-Original-URI $request_uri;
}
-location ~ ^.*/(HEAD|info/refs|objects/info/.*|git-(upload|receive)-pack).*$ {
+location ~ ^/([^/]+)/([^/]+)/(HEAD|info/refs|objects/info/.*|git-upload-pack).*$ {
auth_request /authorize;
root /var/lib/git;
fastcgi_pass unix:/run/fcgiwrap.sock;