Faidon Liambotis has submitted this change and it was merged.

Change subject: mirrors: fix autoindex for tails
......................................................................


mirrors: fix autoindex for tails

Indent the location /tails block under the location / that has some
defaults.

Change-Id: I4681abd6cb7bd4de4355c2a016a7bde085d0a832
---
M modules/mirrors/templates/mirrors.wikimedia.org.conf.erb
1 file changed, 9 insertions(+), 8 deletions(-)

Approvals:
  Faidon Liambotis: Verified; Looks good to me, approved



diff --git a/modules/mirrors/templates/mirrors.wikimedia.org.conf.erb 
b/modules/mirrors/templates/mirrors.wikimedia.org.conf.erb
index 3d9370b..0f54094 100644
--- a/modules/mirrors/templates/mirrors.wikimedia.org.conf.erb
+++ b/modules/mirrors/templates/mirrors.wikimedia.org.conf.erb
@@ -11,12 +11,13 @@
       index index.html;
       autoindex on;
       charset utf-8;
+
+      # per Tails' request
+      location /tails {
+         etag off;
+      }
    }
 
-   # per Tails' request
-   location /tails {
-      etag off;
-   }
 }
 
 server {
@@ -34,10 +35,10 @@
       index index.html;
       autoindex on;
       charset utf-8;
-   }
 
-   # per Tails' request
-   location /tails {
-      etag off;
+      # per Tails' request
+      location /tails {
+         etag off;
+      }
    }
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/311444
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4681abd6cb7bd4de4355c2a016a7bde085d0a832
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Faidon Liambotis <fai...@wikimedia.org>
Gerrit-Reviewer: Faidon Liambotis <fai...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to