From c20a9f58eb362ad84a1f0e3b911b89ffc9bf8451 Mon Sep 17 00:00:00 2001 From: System administrator Date: Wed, 31 May 2017 17:40:39 +0200 Subject: Fix access of g.*/cfg/git where cfg/git is a repo This interfered with http git clone, but now works with both --- images/git/nginx/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'images/git/nginx') diff --git a/images/git/nginx/nginx.conf b/images/git/nginx/nginx.conf index 9528692..40fded6 100644 --- a/images/git/nginx/nginx.conf +++ b/images/git/nginx/nginx.conf @@ -23,7 +23,7 @@ http { server_name tx0.co; try_files $uri @cgit; - location ~ /git(/.*) { + location ~ ^/git(/.*) { # Set chunks to unlimited, as the body's can be huge client_max_body_size 0; -- cgit v1.2.3