diff options
author | System administrator | 2017-05-31 17:40:39 +0200 |
---|---|---|
committer | System administrator | 2017-05-31 17:40:39 +0200 |
commit | c20a9f58eb362ad84a1f0e3b911b89ffc9bf8451 (patch) | |
tree | ebdaebfda9a4e967f884aebaba2cc62cdb7f4660 /images/git | |
parent | 03a34ff8dfd9790bf19f681265e9a6e40e78b9b3 (diff) | |
download | server-c20a9f58eb362ad84a1f0e3b911b89ffc9bf8451.tar.gz server-c20a9f58eb362ad84a1f0e3b911b89ffc9bf8451.tar.xz server-c20a9f58eb362ad84a1f0e3b911b89ffc9bf8451.zip |
Fix access of g.*/cfg/git where cfg/git is a repo
This interfered with http git clone, but now works with both
Diffstat (limited to 'images/git')
-rw-r--r-- | images/git/nginx/nginx.conf | 2 |
1 files changed, 1 insertions, 1 deletions
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; |