summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-10-23 02:18:22 -0400
committerJesse Luehrs <doy@tozt.net>2019-10-23 02:18:22 -0400
commitc4b979045a7810db19a0440806b7857e195a4e65 (patch)
tree84258cf4e248d2214cf73c85e1bddde8f6738054
parenta9887c5f2d09a19a9bc611fcd9eba5980a8cd463 (diff)
downloadpuppet-tozt-c4b979045a7810db19a0440806b7857e195a4e65.tar.gz
puppet-tozt-c4b979045a7810db19a0440806b7857e195a4e65.zip
need to autoindex all subdirectories
-rw-r--r--modules/tozt/files/nginx/git-tls.conf6
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 {