diff options
-rw-r--r-- | modules/tozt/files/nginx/git-tls.conf | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/tozt/files/nginx/git-tls.conf b/modules/tozt/files/nginx/git-tls.conf index 2c3e761..5785d70 100644 --- a/modules/tozt/files/nginx/git-tls.conf +++ b/modules/tozt/files/nginx/git-tls.conf @@ -14,13 +14,9 @@ server { return 301 $scheme://$host$request_uri/; } - location ~ ^/([^/]+)/releases/$ { - alias /home/doy/releases/$1/; - autoindex on; - } - location ~ ^/([^/]+)/releases/(.*)$ { alias /home/doy/releases/$1/$2; + autoindex on; } location @cgit { |