diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-10-23 02:18:22 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-10-23 02:18:22 -0400 |
commit | c4b979045a7810db19a0440806b7857e195a4e65 (patch) | |
tree | 84258cf4e248d2214cf73c85e1bddde8f6738054 | |
parent | a9887c5f2d09a19a9bc611fcd9eba5980a8cd463 (diff) | |
download | puppet-tozt-c4b979045a7810db19a0440806b7857e195a4e65.tar.gz puppet-tozt-c4b979045a7810db19a0440806b7857e195a4e65.zip |
need to autoindex all subdirectories
-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 { |