summaryrefslogtreecommitdiff
path: root/images/git/nginx
diff options
context:
space:
mode:
authorSystem administrator2017-05-31 17:40:39 +0200
committerSystem administrator2017-05-31 17:40:39 +0200
commitc20a9f58eb362ad84a1f0e3b911b89ffc9bf8451 (patch)
treeebdaebfda9a4e967f884aebaba2cc62cdb7f4660 /images/git/nginx
parent03a34ff8dfd9790bf19f681265e9a6e40e78b9b3 (diff)
downloadserver-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/nginx')
-rw-r--r--images/git/nginx/nginx.conf2
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;