diff options
Diffstat (limited to 'writeups/cgit/cgit.md')
-rw-r--r-- | writeups/cgit/cgit.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/writeups/cgit/cgit.md b/writeups/cgit/cgit.md index 3064eb2..8bd4c19 100644 --- a/writeups/cgit/cgit.md +++ b/writeups/cgit/cgit.md @@ -188,7 +188,7 @@ location /cgit { gzip on; # not required for subdomain - if ( $uri ~* ^/cgit/?(.*)$ ) { + if ( $uri ~* ^/cgit(/.*)?$ ) { set $uri_new $1; } @@ -202,7 +202,7 @@ location /cgit { location ~ /cgit/.+/(info/refs|git-upload-pack) { # not required for subdomain - if ( $uri ~* ^/cgit/?(.*)$ ) { + if ( $uri ~* ^/cgit(/.*)?$ ) { set $uri_new $1; } include fastcgi_params; |